Restarting Sessions

This commit is contained in:
Luis Fernando Molina committed 2020-02-04 18:21:27 +01:00
1 parent 3d69e7abcb
commit 3af9b559df
3 files changed
+4 -4

No files matched your search

+1 -2
View File
@@ -40,9 +40,8 @@ process.on('unhandledRejection', (reason, p) => {
})
process.on('exit', function (code) {
/* We send an event signaling that the Task is being terminated. */
let key = global.TASK_NODE.name + '-' + global.TASK_NODE.type + '-' + global.TASK_NODE.id
global.SYSTEM_EVENT_HANDLER.raiseEvent(key, 'Stopped') // Meaning Task Stopped