parsing is stopped as soon as the stream encounters an end event #10

yorickvP opened this Issue Jul 17, 2011 · 1 comment


None yet
2 participants

I was parsing a stream created by fs.createReadStream, but I would only get the first few methods parsed. It turned out that the stream finished reading while parsing was still going on, and its end event would fire, stopping the parsing. This is bad, as it essentially breaks reading file streams.


substack commented Oct 14, 2011

Should be all fixed now in 0.2.6. I was being silly about handling "end" events.

@substack substack closed this Oct 14, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment