Ensure delay node rate limit timer is cleared on reset

This commit is contained in:
Dave Conway-Jones 2020-05-30 15:18:15 +01:00
parent 774751a25c
commit 8a798e620a
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ module.exports = function(RED) {
clearInterval(node.intervalID);
node.intervalID = -1;
}
delete node.lastSent;
node.buffer = [];
node.status({text:"reset"});
return;