Bug Fixed. Error displaying at when Tasks are shut down
This commit is contained in:
1 parent
001f0baa26
commit
b51fa61c4a
1 file changed
+7
-5
@@ -45,11 +45,13 @@ exports.newSuperalgosFunctionLibrariesNodeJSFunctions = function () {
|
||||
}
|
||||
}
|
||||
|
||||
TS.projects.superalgos.functionLibraries.taskFunctions.taskError(
|
||||
undefined,
|
||||
uiError,
|
||||
docs
|
||||
)
|
||||
if (TS.projects.superalgos.globals.taskVariables.FATAL_ERROR_MESSAGE || TS.projects.superalgos.globals.taskVariables.UNEXPECTED_ERROR) {
|
||||
TS.projects.superalgos.functionLibraries.taskFunctions.taskError(
|
||||
undefined,
|
||||
uiError,
|
||||
docs
|
||||
)
|
||||
}
|
||||
|
||||
if (isNodeJsProcessShuttingDown === true) { return }
|
||||
isNodeJsProcessShuttingDown = true
|
||||
|
||||
Reference in new issue
Block a user