Pass Ground VM to stopHandlers
This commit is contained in:
parent
f0f99f3def
commit
2f948067a7
|
@ -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 = [];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue