chore: clear handles

This commit is contained in:
cha0s 2019-04-19 22:36:39 -05:00
parent b0cc55ebb9
commit 4c20debafc

View File

@ -415,10 +415,12 @@ export class App extends decorate(class {}) {
stopRendering() {
clearAnimation(this.renderHandle);
this.renderHandle = undefined;
}
stopSimulation() {
clearInterval(this.simulationHandle);
this.simulationHandle = undefined;
}
}