mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix closing web socket timeout
to close #738 - thanks to @GSeva for spotting it.
This commit is contained in:
parent
1ee5e50d50
commit
2569a35b6c
@ -115,7 +115,7 @@ module.exports = function(RED) {
|
|||||||
else {
|
else {
|
||||||
node.closing = true;
|
node.closing = true;
|
||||||
node.server.close();
|
node.server.close();
|
||||||
if (node.tout) { clearTimeout(tout); }
|
if (node.tout) { clearTimeout(node.tout); }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user