Merge pull request #3734 from node-red-hitachi/fix-close-websocket

Fix close timeout of websocket node
This commit is contained in:
Nick O'Leary 2022-07-04 21:02:20 +01:00 committed by GitHub
commit 7072265225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ module.exports = function(RED) {
delete listenerNodes[node.fullPath];
node.server.close();
node._inputNodes = [];
done();
}
else {
node.closing = true;