Refactoring
This commit is contained in:
1 parent
e3c1156a43
commit
56b4c7dfae
15 files changed
+65
-65
No files matched your search
@@ -28,9 +28,9 @@ exports.newNodeJsProcess = function newNodeJsProcess() {
|
||||
/* 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.EVENT_SERVER_CLIENT.raiseEvent(key, 'Stopped') // Meaning Task Stopped
|
||||
global.EVENT_SERVER_CLIENT.finalize()
|
||||
global.EVENT_SERVER_CLIENT = undefined
|
||||
global.EVENT_SERVER_CLIENT_MODULE.raiseEvent(key, 'Stopped') // Meaning Task Stopped
|
||||
global.EVENT_SERVER_CLIENT_MODULE.finalize()
|
||||
global.EVENT_SERVER_CLIENT_MODULE = undefined
|
||||
}
|
||||
|
||||
//console.log('[INFO] Task Server -> server -> process.on.exit -> About to exit -> config = ' + config)
|
||||
|
||||
Reference in new issue
Block a user