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

Merge branch 'master' into dev

This commit is contained in:
Nick O'Leary 2020-04-02 23:24:42 +01:00
commit 344c9fe57e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -573,7 +573,7 @@ function stopNode(node,removed) {
const closePromise = node.close(removed);
let closeTimer = null;
const closeTimeout = new Promise((resolve,reject) => {
closePromise = setTimeout(() => {
closeTimer = setTimeout(() => {
reject("Close timed out");
}, nodeCloseTimeout);
});