mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #4350 from node-red/Fix-delay-node-passing-on-reset-regression
Fix regression in delay node to not pass on msg.reset
This commit is contained in:
commit
2f9f8cda81
@ -284,7 +284,7 @@ module.exports = function(RED) {
|
|||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else if (!msg.hasOwnProperty("reset")) {
|
||||||
if (maxKeptMsgsCount(node) > 0) {
|
if (maxKeptMsgsCount(node) > 0) {
|
||||||
if (node.intervalID === -1) {
|
if (node.intervalID === -1) {
|
||||||
node.send(msg);
|
node.send(msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user