ensure trigger gets reset when 2nd output is null

to fix #1644
This commit is contained in:
Dave Conway-Jones 2018-02-21 21:53:44 +00:00
parent a0489f2a0d
commit fdae75c99b
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ module.exports = function(RED) {
delete node.topics[topic];
node.send(msg2);
}
else { delete node.topics[topic]; }
node.status({});
}, node.duration);
}