From fc36ac7fea89447682868dc40cc9a818afc51c5c Mon Sep 17 00:00:00 2001 From: Gubolin Date: Wed, 6 Aug 2014 12:24:45 +0200 Subject: fix another strange Note bug --- objects.js | 2 +- threads.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/objects.js b/objects.js index e4d0928..8923384 100644 --- a/objects.js +++ b/objects.js @@ -4811,7 +4811,7 @@ StageMorph.prototype.fireGreenFlagEvent = function () { StageMorph.prototype.fireStopAllEvent = function () { var ide = this.parentThatIsA(IDE_Morph); - this.threads.resumeAll(this.stage); + //this.threads.resumeAll(this.stage); // leads to a strange Note bug this.keysPressed = {}; this.threads.stopAll(); this.stopAllActiveSounds(); diff --git a/threads.js b/threads.js index 7e87614..fd75e3d 100644 --- a/threads.js +++ b/threads.js @@ -1395,7 +1395,7 @@ Process.prototype.doStopAll = function () { if (this.homeContext.receiver) { stage = this.homeContext.receiver.parentThatIsA(StageMorph); if (stage) { - stage.threads.resumeAll(stage); + //stage.threads.resumeAll(stage); // leads to a strange Note bug stage.keysPressed = {}; stage.threads.stopAll(); stage.stopAllActiveSounds(); -- cgit v1.3.1