Pass Ground VM to stopHandlers

This commit is contained in:
Tony Garnock-Jones 2019-10-24 19:27:41 +01:00
parent f0f99f3def
commit 2f948067a7
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ Ground.prototype._step = function () {
this.start();
} else {
if (!this.backgroundTaskCount) {
this.stopHandlers.forEach((h) => h());
this.stopHandlers.forEach((h) => h(this));
this.stopHandlers = [];
}
}