mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-06 19:41:51 -04:00
Clear out monitor state on vm.clear
Fixes https://github.com/LLK/scratch-gui/issues/1848
This commit is contained in:
parent
f01558b74e
commit
cc1314d289
1 changed files with 2 additions and 0 deletions
|
@ -1176,6 +1176,8 @@ class Runtime extends EventEmitter {
|
|||
dispose () {
|
||||
this.stopAll();
|
||||
this.targets.map(this.disposeTarget, this);
|
||||
this._monitorState = OrderedMap({});
|
||||
// @todo clear out extensions? turboMode? etc.
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue