diff options
| author | Gubolin <gubolin@fantasymail.de> | 2015-01-02 10:27:39 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2015-01-02 10:27:39 +0100 |
| commit | 32e5a9b77a3db25a2562bfab10df3feb94cebb63 (patch) | |
| tree | fc47b01079864c68dbf635717519f5516fd76264 /threads.js | |
| parent | 524659048602c2812ef431813615a7a03ac90892 (diff) | |
| parent | b31df39d7f126eaa303c8dae1cf6a14c739a2cc5 (diff) | |
| download | snap-32e5a9b77a3db25a2562bfab10df3feb94cebb63.tar.gz snap-32e5a9b77a3db25a2562bfab10df3feb94cebb63.zip | |
merge upstream
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; @@ -243,7 +243,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(); } @@ -2615,6 +2615,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; }; |
