Memory Leak Bug Fixed
This commit is contained in:
1 parent
6130b2473a
commit
26f53b0ab9
5 files changed
+45
-1
No files matched your search
@@ -140,6 +140,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
bot.multiPeriodDailyProcessDatetime = processConfig.framework.startDate.fixedDate
|
||||
}
|
||||
|
||||
function startLiveTrading(message) {
|
||||
@@ -150,6 +151,7 @@
|
||||
bot.startMode = "Live"
|
||||
processConfig.framework.startDate.fixedDate = new Date()
|
||||
processConfig.framework.startDate.resumeExecution = false;
|
||||
bot.multiPeriodDailyProcessDatetime = processConfig.framework.startDate.fixedDate
|
||||
global.STOP_PROCESSING = false
|
||||
bot.hasTheBotJustStarted = true
|
||||
}
|
||||
@@ -742,6 +744,8 @@
|
||||
try {
|
||||
|
||||
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] run -> loop -> startProcessFramework -> onFinished -> Entering function."); }
|
||||
processFramework.finalize()
|
||||
processFramework = undefined
|
||||
|
||||
switch (err.result) {
|
||||
case global.DEFAULT_OK_RESPONSE.result: {
|
||||
|
||||
Reference in new issue
Block a user