1
0
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:
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

View File

@ -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;