fix on stop

This commit is contained in:
Luis Fernando Molina committed 2020-06-12 12:45:29 +02:00
1 parent 202af86927
commit 8e19a5ac24
4 files changed
+15 -6

No files matched your search

+5 -1
View File
@@ -597,7 +597,11 @@
logger.persist();
clearInterval(fixedTimeLoopIntervalHandle);
clearTimeout(nextLoopTimeoutHandle);
callBackFunction(global.DEFAULT_FAIL_RESPONSE);
if (global.unexpectedError !== undefined) {
callBackFunction(global.DEFAULT_FAIL_RESPONSE)
} else {
callBackFunction(global.DEFAULT_OK_RESPONSE)
}
}
}