diff --git a/history.txt b/history.txt index 16da6bd7..371c66b0 100755 --- a/history.txt +++ b/history.txt @@ -1964,3 +1964,7 @@ ______ 131015 ------ * Morphic: further condense damage list by merging nearby rectangles, thanks, Craxic! + +131017 +------ +* Threads: fixed #213 - Empty else block breaks return to caller diff --git a/threads.js b/threads.js index 8b0e25be..9b347f92 100644 --- a/threads.js +++ b/threads.js @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2013-October-09'; +modules.threads = '2013-October-17'; var ThreadManager; var Process; @@ -1318,6 +1318,8 @@ Process.prototype.doIfElse = function () { } else { if (args[2]) { this.pushContext(args[2].blockSequence(), outer); + } else { + this.pushContext('doYield'); } } if (this.context) {