mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
f808e85da9
commit
4a2e3586f1
@ -171,6 +171,7 @@ module.exports = function(RED) {
|
|||||||
}
|
}
|
||||||
if (msg.hasOwnProperty("reset")) {
|
if (msg.hasOwnProperty("reset")) {
|
||||||
clearInterval(node.intervalID);
|
clearInterval(node.intervalID);
|
||||||
|
node.intervalID = -1;
|
||||||
node.buffer = [];
|
node.buffer = [];
|
||||||
node.status({text:"reset"});
|
node.status({text:"reset"});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user