Cleaning feature not needed

This commit is contained in:
Luis Fernando Molina committed 2020-11-27 20:19:39 +01:00
1 parent ddde43d7d7
commit cf5e137c0f
6 files changed
+5 -23

No files matched your search

@@ -529,10 +529,7 @@ exports.newLearningBot = function newLearningBot(bot, parentLogger) {
function onStop() {
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] run -> loop -> loopControl -> onStop -> Stopping the Loop Gracefully. See you next time!"); }
if (global.WRITE_LOGS_TO_FILES === 'true') {
logger.persist();
}
logger.persist();
global.EVENT_SERVER_CLIENT_MODULE.raiseEvent(bot.sessionKey, 'Stopped')
processStopped()