clean up status on close for several core nodes.

This commit is contained in:
Dave Conway-Jones
2016-10-10 11:08:06 +01:00
parent 85b1c1fe97
commit 3a8820397b
4 changed files with 22 additions and 9 deletions

View File

@@ -91,6 +91,9 @@ module.exports = function(RED) {
}
}
});
this.on('close', function() {
node.status({});
});
}
RED.nodes.registerType("file",FileNode);
@@ -127,6 +130,9 @@ module.exports = function(RED) {
});
}
});
this.on('close', function() {
node.status({});
});
}
RED.nodes.registerType("file in",FileInNode);
}