Stop gracefully improved
This commit is contained in:
1 parent
fe537dff3b
commit
5a2c317e5e
3 files changed
+18
No files matched your search
@@ -288,6 +288,12 @@
|
||||
switch (err.result) {
|
||||
case global.DEFAULT_OK_RESPONSE.result: {
|
||||
logger.write(MODULE_NAME, "[INFO] run -> loop -> startProcessExecutionEvents -> onStarted -> Execution finished well.");
|
||||
|
||||
if (global.STOP_TASK_GRACEFULLY === true) {
|
||||
loopControl()
|
||||
return
|
||||
}
|
||||
|
||||
initializeStatusDependencies();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user