diff --git a/packages/node_modules/@node-red/runtime/lib/flows/index.js b/packages/node_modules/@node-red/runtime/lib/flows/index.js index c955dfe1c..6dba5b926 100644 --- a/packages/node_modules/@node-red/runtime/lib/flows/index.js +++ b/packages/node_modules/@node-red/runtime/lib/flows/index.js @@ -462,9 +462,8 @@ function stop(type,diff,muteLog,isDeploy) { if (type === 'nodes') { stopList = diff.changed.concat(diff.removed); } else if (type === 'flows') { - stopList = diff.changed.concat(diff.removed).concat(diff.linked); + stopList = diff.changed.concat(diff.removed).concat(diff.linked).concat(diff.rewired); } - events.emit("flows:stopping",{config: activeConfig, type: type, diff: diff}) // Stop the global flow object last