mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-09 14:32:07 -05:00
Reset answer when runtime gets disposed
This commit is contained in:
parent
3c5fa3a7b2
commit
6055823f20
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class Scratch3SensingBlocks {
|
|||
this.runtime.on('PROJECT_START', this._resetAnswer.bind(this));
|
||||
this.runtime.on('PROJECT_STOP_ALL', this._clearAllQuestions.bind(this));
|
||||
this.runtime.on('STOP_FOR_TARGET', this._clearTargetQuestions.bind(this));
|
||||
this.runtime.on('RUNTIME_DISPOSED', this._resetAnswer.bind(this));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue