diff options
| author | jmoenig <jens@moenig.org> | 2013-10-17 18:56:35 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-10-17 18:56:35 +0200 |
| commit | 3c209e84218262dc78024f8ea696605c2384a6ea (patch) | |
| tree | 22633d69a1e4b78bef80412190457342b9379a2c /threads.js | |
| parent | a8d08c147d3c05290654e700a84fcdaa00ad4a3e (diff) | |
| download | snap-byow-3c209e84218262dc78024f8ea696605c2384a6ea.tar.gz snap-byow-3c209e84218262dc78024f8ea696605c2384a6ea.zip | |
fixed #213 - Empty else block breaks return to caller
Thanks, Art, for reporting this bug!
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |
