Skip to content

Commit

Permalink
fix bug on compensate. new release
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdias committed May 25, 2021
1 parent 23d071d commit 46e0855
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion compensate/compensate.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,10 @@ module.exports = function (RED) {
}
});

this.on("close", function () {
this.on("close", function (done) {
clearInterval(scheduler);
history = [];
done();
});
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-self-healing",
"version": "0.8.5",
"version": "0.8.6",
"description": "SHEN: Self-healing extensions for Node-RED.",
"keywords": [
"node-red",
Expand Down

0 comments on commit 46e0855

Please sign in to comment.