1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

View File

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