diff --git a/src/blocks/scratch3_sensing.js b/src/blocks/scratch3_sensing.js index 8dbd95d6c..2b031307c 100644 --- a/src/blocks/scratch3_sensing.js +++ b/src/blocks/scratch3_sensing.js @@ -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)); } /**