From bb1c81f8dadcc326cdf1b550ccd8e337a0594998 Mon Sep 17 00:00:00 2001 From: ice987987 Date: Sat, 12 Mar 2022 16:22:17 +0100 Subject: [PATCH] recreate v0.0.3 --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 7c5fd64..7877766 100644 --- a/main.js +++ b/main.js @@ -34,7 +34,7 @@ class Wiserbyfeller extends utils.Adapter { this.rssi = null; this.updateInterval = null; - this.autoRestartTimeout = null; + //this.autoRestartTimeout = null; } /** @@ -949,7 +949,7 @@ class Wiserbyfeller extends utils.Adapter { // Here you must clear all timeouts or intervals that may still be active this.setState('info.connection', false, true); this.updateInterval && clearInterval(this.updateInterval); - this.autoRestartTimeout && clearTimeout(this.autoRestartTimeout); + //this.autoRestartTimeout && clearTimeout(this.autoRestartTimeout); callback(); this.log.info('cleaned everything up... (#1)'); } catch (e) {