mirror of https://github.com/node-red/node-red.git
Merge pull request #4083 from node-red/fix-join-memory
Join: ensure inflight status is cleared when in auto modepull/4079/head^2
commit
3306cdede5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue