From 9e6d5010094e35ef54594f6ccfb7ad594e36c51f Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 2 Mar 2023 14:59:54 +0000 Subject: [PATCH] Join: ensure inflight status is cleared when in auto mode Fixes #4080 --- packages/node_modules/@node-red/nodes/core/sequence/17-split.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/core/sequence/17-split.js b/packages/node_modules/@node-red/nodes/core/sequence/17-split.js index 4e71fe6c7..b2e11218a 100644 --- a/packages/node_modules/@node-red/nodes/core/sequence/17-split.js +++ b/packages/node_modules/@node-red/nodes/core/sequence/17-split.js @@ -478,7 +478,7 @@ module.exports = function(RED) { var completeSend = function(partId) { var group = inflight[partId]; if (group.timeout) { clearTimeout(group.timeout); } - if ((node.accumulate !== true) || group.msg.hasOwnProperty("complete")) { delete inflight[partId]; } + if (node.mode === 'auto' || node.accumulate !== true || group.msg.hasOwnProperty("complete")) { delete inflight[partId]; } if (group.type === 'array' && group.arrayLen > 1) { var newArray = []; group.payload.forEach(function(n) {