mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure delay node rate limit timer is cleared on reset
This commit is contained in:
parent
774751a25c
commit
8a798e620a
@ -158,6 +158,7 @@ module.exports = function(RED) {
|
|||||||
clearInterval(node.intervalID);
|
clearInterval(node.intervalID);
|
||||||
node.intervalID = -1;
|
node.intervalID = -1;
|
||||||
}
|
}
|
||||||
|
delete node.lastSent;
|
||||||
node.buffer = [];
|
node.buffer = [];
|
||||||
node.status({text:"reset"});
|
node.status({text:"reset"});
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user