Merge pull request #406 from Luis-Fernando-Molina/develop

Contribution: Bug Fixed. Error displaying at when Tasks are shut down
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-01-18 18:34:22 +01:00
commit f7fd9c9abe
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