Don't quit loop when a thread is yielding

This commit is contained in:
Tim Mickel 2016-07-06 14:16:44 -04:00
parent 30dc285a37
commit d4353458ff

View file

@ -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) {