kopia lustrzana https://github.com/backface/turtlestitch
Prevent terminated threads from forking new ones and from cloning
rodzic
129723ba3d
commit
57f3a849b6
|
@ -4136,3 +4136,4 @@ in development:
|
|||
180608
|
||||
------
|
||||
* Blocks, Objects: new experimental "When I am stopped" event option
|
||||
* Threads: Prevent terminated threads from forking new ones and from cloning
|
||||
|
|
|
@ -2973,7 +2973,7 @@ Process.prototype.createClone = function (name) {
|
|||
var thisObj = this.blockReceiver(),
|
||||
thatObj;
|
||||
|
||||
if (!name) {return; }
|
||||
if (!name || this.readyToTerminate) {return; }
|
||||
if (thisObj) {
|
||||
if (this.inputOption(name) === 'myself') {
|
||||
thisObj.createClone(!this.isFirstStep);
|
||||
|
|
Ładowanie…
Reference in New Issue