chore: cleanup
This commit is contained in:
parent
3de969ce1e
commit
875449e816
|
@ -14,6 +14,11 @@ export default class Ticking extends Component {
|
|||
});
|
||||
}
|
||||
|
||||
reset() {
|
||||
this.$$finished = [];
|
||||
this.$$tickingPromises = [];
|
||||
}
|
||||
|
||||
tick(elapsed) {
|
||||
for (const tickingPromise of this.$$finished) {
|
||||
this.$$tickingPromises.splice(
|
||||
|
|
Loading…
Reference in New Issue
Block a user