@nsshunt/stsrunnerframework 1.0.153 → 1.0.155
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.
|
@@ -2000,9 +2000,9 @@ class WorkerInstance {
|
|
|
2000
2000
|
if (__privateGet(this, _runners)[runnerId]) {
|
|
2001
2001
|
const { state } = __privateGet(this, _runners)[runnerId].runner;
|
|
2002
2002
|
if (state === IRunnerState.paused || state === IRunnerState.running) {
|
|
2003
|
+
__privateGet(this, _UpdateRunnerStateById).call(this, runnerId, IRunnerState.paused);
|
|
2003
2004
|
__privateGet(this, _ResetRunnerIterationById).call(this, runnerId);
|
|
2004
2005
|
result = await ((_a = __privateGet(this, _GetRunnerInstanceById).call(this, runnerId)) == null ? void 0 : _a.ResetRunner());
|
|
2005
|
-
__privateGet(this, _UpdateRunnerStateById).call(this, runnerId, IRunnerState.paused);
|
|
2006
2006
|
}
|
|
2007
2007
|
} else {
|
|
2008
2008
|
__privateGet(this, _warn).call(this, `#ResetRunner(): Runner: [${runnerId}] not found`);
|
|
@@ -3451,6 +3451,12 @@ ProcessRunnerResponse_fn = function(stsWorkerEx, payload) {
|
|
|
3451
3451
|
clearTimeout(messageRecord.timeout);
|
|
3452
3452
|
const retPayload = { ...payload.executeRunnerActionResult };
|
|
3453
3453
|
delete __privateGet(this, _messages)[messageId];
|
|
3454
|
+
if (__privateGet(this, _workersEx)[payload.runner.workerId]) {
|
|
3455
|
+
const runnersEx = __privateGet(this, _workersEx)[payload.runner.workerId].runnersEx;
|
|
3456
|
+
if (runnersEx && runnersEx[payload.runner.id]) {
|
|
3457
|
+
__privateGet(this, _SyncRunnerData).call(this, runnersEx[payload.runner.id], payload.runner);
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3454
3460
|
messageRecord.resolveMessage(retPayload);
|
|
3455
3461
|
}
|
|
3456
3462
|
} catch (error) {
|