diff options
| author | Gubolin <gubolin@fantasymail.de> | 2015-01-08 19:30:02 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2015-01-08 19:30:02 +0100 |
| commit | 4d0e06ff5903d7ab56d5e25a71062ff40e0904cc (patch) | |
| tree | 6c0f60fe8405c82da4a53253c847c1a0acda6011 /threads.js | |
| parent | 2631b384cab44d8416b865d7ed666e844930092f (diff) | |
| parent | 27370676f2bf925c3a8498fc2dfef959e1aa45bd (diff) | |
| download | snap-4d0e06ff5903d7ab56d5e25a71062ff40e0904cc.tar.gz snap-4d0e06ff5903d7ab56d5e25a71062ff40e0904cc.zip | |
Merge branch 'master' into mobileapp
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2014-December-11'; +modules.threads = '2014-December-17'; var ThreadManager; var Process; @@ -234,7 +234,7 @@ ThreadManager.prototype.removeTerminatedProcesses = function () { // and un-highlight their scripts var remaining = []; this.processes.forEach(function (proc) { - if (!proc.isRunning() && !proc.errorFlag && !proc.isDead) { + if ((!proc.isRunning() && !proc.errorFlag) || proc.isDead) { if (proc.topBlock instanceof BlockMorph) { proc.topBlock.removeHighlight(); } @@ -2589,6 +2589,7 @@ Process.prototype.reportContextFor = function (context, otherObj) { if (result.outerContext) { result.outerContext = copy(result.outerContext); result.outerContext.receiver = otherObj; + result.outerContext.variables.parentFrame = otherObj.variables; } return result; }; |
