removed a conflicting thread from STOP ALL

loading a project that fires STOP ALL from a WHEN hat block no longer "hangs" Snap
pull/89/head
jmoenig 2019-10-16 17:12:12 +02:00
rodzic 3f6a0f668f
commit 73bace690b
2 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -5,6 +5,7 @@
* **Notable Changes:**
* running STOP ALL now also toggles (pauses and resumes) all generic WHEN hat blocks (just like pressing the stop button)
* **Notable Fixes:**
* loading a project that fires STOP ALL from a WHEN hat block no longer "hangs" Snap
* **Translation Updates:**
### 2019-10-16
@ -12,6 +13,7 @@
* morphic: added "enableLinks" flag to text elements, off by default
* widgets: made only URLs inside dialog boxes' bodies clickable
* threads: running STOP ALL now also pauses (pauses and resumes) all generic WHEN hat blocks
* threads: removed a conflicting thread from STOP ALL - loading a project that fires STOP ALL from a WHEN hat block no longer "hangs" Snap
## v5.1.1:
* **New Features:**

Wyświetl plik

@ -1949,10 +1949,6 @@ Process.prototype.doStopAll = function () {
if (ide) {
ide.controlBar.pauseButton.refresh();
ide.controlBar.stopButton.refresh();
ide.nextSteps([ // catch forever loops //
nop,
function () {stage.stopAllActiveSounds(); }
]);
}
}
};