move node.send in exec and httprequest nodes

just in case
This commit is contained in:
Dave Conway-Jones
2018-02-06 11:34:24 +00:00
parent 415c768ae4
commit 5931e13b9c
2 changed files with 3 additions and 4 deletions

View File

@@ -152,9 +152,9 @@ module.exports = function(RED) {
msg.rc = msg3.payload;
if (msg2) { msg2.rc = msg3.payload; }
}
node.send([msg,msg2,msg3]);
if (child.tout) { clearTimeout(child.tout); }
delete node.activeProcesses[child.pid];
node.send([msg,msg2,msg3]);
});
node.status({fill:"blue",shape:"dot",text:"pid:"+child.pid});
child.on('error',function() {});