Skip to content

Commit

Permalink
Stop rolling on timeline destroy (visjs#1607)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpfoster authored Jun 19, 2023
1 parent ba9c546 commit e84e5ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/timeline/Range.js
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,13 @@ export default class Range extends Component {
};
this.setRange(newStart, newEnd, options);
}

/**
* Destroy the Range
*/
destroy() {
this.stopRolling();
}
}

/**
Expand Down

0 comments on commit e84e5ed

Please sign in to comment.