Update 89-delay.js

This commit is contained in:
Dave Conway-Jones 2023-09-18 19:32:01 +01:00
parent 234e92db12
commit 718a7bfc26
No known key found for this signature in database
GPG Key ID: 1DDB0E91A28C2643
1 changed files with 1 additions and 1 deletions

View File

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