Clear out monitor state on vm.clear

Fixes https://github.com/LLK/scratch-gui/issues/1848
This commit is contained in:
Paul Kaplan 2018-05-09 11:34:01 -04:00
parent f01558b74e
commit cc1314d289

View file

@ -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.
}
/**