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:
commit
7072265225
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user