From 526b3fda9106ea86e7ba73f77dd1d0f48d7a6557 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 10 Jun 2024 16:56:49 +0100 Subject: [PATCH] Include rewired nodes when calculating Modified Flows stop list --- packages/node_modules/@node-red/runtime/lib/flows/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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