diff options
| author | Gubolin <gubolin@fantasymail.de> | 2015-01-24 10:20:03 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2015-01-24 10:20:03 +0100 |
| commit | 39c061f6a6071d6c4dd3ba5de642226590a5ac47 (patch) | |
| tree | 1fcfb5373c6fcb50670828fa6dc470ff192d1a58 /threads.js | |
| parent | 7311c3ee0cc93e50e5adcb521a94e8738ed98eb2 (diff) | |
| parent | 2ca378c50bf67b6af5e16ba72af81f4f84db308c (diff) | |
| download | snap-39c061f6a6071d6c4dd3ba5de642226590a5ac47.tar.gz snap-39c061f6a6071d6c4dd3ba5de642226590a5ac47.zip | |
Merge branch 'master' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into development
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -9,7 +9,7 @@ written by Jens Mönig jens@moenig.org - Copyright (C) 2014 by Jens Mönig + Copyright (C) 2015 by Jens Mönig This file is part of Snap!. @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2014-December-17'; +modules.threads = '2015-January-12'; var ThreadManager; var Process; @@ -168,9 +168,11 @@ ThreadManager.prototype.startProcess = function ( active.stop(); this.removeTerminatedProcesses(); } - top.addHighlight(); newProc = new Process(block.topBlock(), callback); newProc.exportResult = exportResult; + if (!newProc.homeContext.receiver.isClone) { + top.addHighlight(); + } this.processes.push(newProc); return newProc; }; |
