diff --git a/lib/parse.js b/lib/parse.js index 69fc2c4..a34391c 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -158,8 +158,8 @@ Parse.prototype._readFile = function () { } this.push(buf); } + self._pullStream.unpipe(); setImmediate(function() { - self._pullStream.unpipe(); self._pullStream.prepend(extra); self._processDataDescriptor(entry); });