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:
commit
344c9fe57e
@ -573,7 +573,7 @@ function stopNode(node,removed) {
|
|||||||
const closePromise = node.close(removed);
|
const closePromise = node.close(removed);
|
||||||
let closeTimer = null;
|
let closeTimer = null;
|
||||||
const closeTimeout = new Promise((resolve,reject) => {
|
const closeTimeout = new Promise((resolve,reject) => {
|
||||||
closePromise = setTimeout(() => {
|
closeTimer = setTimeout(() => {
|
||||||
reject("Close timed out");
|
reject("Close timed out");
|
||||||
}, nodeCloseTimeout);
|
}, nodeCloseTimeout);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user