@nsshunt/ststestrunner 1.0.48 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22843,14 +22843,14 @@ ${" ".repeat(r2.length - i2.length)}^`), o2))];
|
|
|
22843
22843
|
return retVal;
|
|
22844
22844
|
});
|
|
22845
22845
|
__publicField(this, "Stop", async () => {
|
|
22846
|
-
__privateGet(this, _EmitEvent).call(this, "Stopping", {});
|
|
22846
|
+
__privateGet(this, _EmitEvent).call(this, "Stopping ...", {});
|
|
22847
22847
|
__privateGet(this, _debug7).call(this, chalk$1.magenta(`Stop(): Stopping Service.`));
|
|
22848
22848
|
const workers = await __privateGet(this, _wm).GetWorkersSmall([]);
|
|
22849
|
-
__privateGet(this, _debug7).call(this, `Stop(): Workers to
|
|
22850
|
-
|
|
22851
|
-
__privateGet(this, _debug7).call(this, `Stop(): Workers terminated
|
|
22849
|
+
__privateGet(this, _debug7).call(this, `Stop(): Workers going to terminate ...`);
|
|
22850
|
+
await __privateGet(this, _wm).TerminateWorkers(Object.values(workers).map((worker) => worker.id));
|
|
22851
|
+
__privateGet(this, _debug7).call(this, `Stop(): Workers terminated`);
|
|
22852
22852
|
if (this.socket) {
|
|
22853
|
-
__privateGet(this, _debug7).call(this, `Stop(): Going to disconnect socket
|
|
22853
|
+
__privateGet(this, _debug7).call(this, `Stop(): Going to disconnect socket ...`);
|
|
22854
22854
|
this.socket.disconnect();
|
|
22855
22855
|
__privateGet(this, _debug7).call(this, `Stop(): Socket disconnected.`);
|
|
22856
22856
|
}
|