Interval Hanlde missing

This commit is contained in:
Luis Fernando Molina committed 2018-06-04 16:15:34 +02:00
1 parent 78e5c19614
commit bad6a31b11
2 files changed
+22 -2

No files matched your search

+11 -1
View File
@@ -143,7 +143,17 @@
bot.eventHandler.raiseEvent("Close Log File");
loop();
let intervalHandle;
if (bot.runAtFixedInterval === true) {
intervalHandle = setInterval(loop, bot.fixedInterval);
} else {
loop();
}
function loop() {