mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-14 15:28:50 -04:00
Don't quit loop when a thread is yielding
This commit is contained in:
parent
30dc285a37
commit
d4353458ff
1 changed files with 0 additions and 1 deletions
|
@ -62,7 +62,6 @@ Sequencer.prototype.stepThreads = function (threads) {
|
|||
activeThread.status === Thread.STATUS_YIELD_FRAME) {
|
||||
// Yielding thread: do nothing for this step.
|
||||
numYieldingThreads++;
|
||||
continue;
|
||||
}
|
||||
if (activeThread.stack.length === 0 &&
|
||||
activeThread.status === Thread.STATUS_DONE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue