mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Merge pull request #4000 from node-red/fix-split-stream
Split node: avoid duplicate done call for buffer split
This commit is contained in:
		| @@ -251,7 +251,9 @@ module.exports = function(RED) { | ||||
|                         } | ||||
|                         else { | ||||
|                             node.buffer = buff.slice(p,buff.length); | ||||
|                             node.pendingDones.push(done); | ||||
|                             if (node.buffer.length > 0) { | ||||
|                                 node.pendingDones.push(done); | ||||
|                             } | ||||
|                         } | ||||
|                         if (node.buffer.length == 0) { | ||||
|                             done(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user