1
0
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:
Nick O'Leary 2023-09-19 09:21:33 +01:00 committed by GitHub
commit 2f9f8cda81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,7 +284,7 @@ module.exports = function(RED) {
done();
}
}
else {
else if (!msg.hasOwnProperty("reset")) {
if (maxKeptMsgsCount(node) > 0) {
if (node.intervalID === -1) {
node.send(msg);