mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
b3ce0c0079
commit
74794fea09
@ -251,7 +251,9 @@ module.exports = function(RED) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
node.buffer = buff.slice(p,buff.length);
|
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) {
|
if (node.buffer.length == 0) {
|
||||||
done();
|
done();
|
||||||
|
Loading…
Reference in New Issue
Block a user