-
Notifications
You must be signed in to change notification settings - Fork 22
WARCStreamTransform can experience ERR_MULTIPLE_CALLBACK error #57
Open
Description
node-warc/lib/parsers/warcStreamTransform.js
Lines 110 to 115 in be38971
_flush (done) {
if (this.buffered) {
this._consumeChunk(this.buffered, done, true)
}
done()
}
since _consumeChunk calls done, i think this should be:
_flush (done) { if (this.buffered) { this._consumeChunk(this.buffered, done, true) } else { done() } }
Activity
Metadata
Metadata
Assignees
Labels
No labels