summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2015-01-24 10:21:12 +0100
committerGubolin <gubolin@fantasymail.de>2015-01-24 10:21:12 +0100
commite8c854f84aef6d160cfacb4b6a7a5723716cb72e (patch)
tree023adc90688fc3e9306c93afda3fdd26f5be49b1 /threads.js
parentc09c227ce312f0ec649577b206b84794a3507754 (diff)
parent2ca378c50bf67b6af5e16ba72af81f4f84db308c (diff)
downloadsnap-e8c854f84aef6d160cfacb4b6a7a5723716cb72e.tar.gz
snap-e8c854f84aef6d160cfacb4b6a7a5723716cb72e.zip
Merge branch 'master' into mobileapp
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/threads.js b/threads.js
index 8780de5..06454e3 100644
--- a/threads.js
+++ b/threads.js
@@ -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;
@@ -159,9 +159,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;
};