Skip to content

Commit

Permalink
recreate v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ice987987 committed Mar 12, 2022
1 parent eca957f commit bb1c81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Wiserbyfeller extends utils.Adapter {
this.rssi = null;

this.updateInterval = null;
this.autoRestartTimeout = null;
//this.autoRestartTimeout = null;
}

/**
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit bb1c81f

Please sign in to comment.