Prevent terminated threads from forking new ones and from cloning

upd4.2
jmoenig 2018-06-08 19:21:11 +02:00
rodzic 129723ba3d
commit 57f3a849b6
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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);