mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
910f6134f6
commit
9e6d501009
@ -478,7 +478,7 @@ module.exports = function(RED) {
|
|||||||
var completeSend = function(partId) {
|
var completeSend = function(partId) {
|
||||||
var group = inflight[partId];
|
var group = inflight[partId];
|
||||||
if (group.timeout) { clearTimeout(group.timeout); }
|
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) {
|
if (group.type === 'array' && group.arrayLen > 1) {
|
||||||
var newArray = [];
|
var newArray = [];
|
||||||
group.payload.forEach(function(n) {
|
group.payload.forEach(function(n) {
|
||||||
|
Loading…
Reference in New Issue
Block a user