mafintosh / streamx

An iteration of the Node.js core streams with a series of improvements.
MIT License
226 stars 16 forks source link

fix: change destroy byteflag for asyncIterator #56

Closed ThaUnknown closed 2 years ago

ThaUnknown commented 2 years ago

https://github.com/streamxorg/streamx/issues/55 !!! This is a patch, not a fix. I could not find the underlying issue, but it seems like the stream never actually finishes destroying after it ends with asyncIterator, again could not find why, but this seemed like a very reliable way of checking if it should have ended without breaking anything.

mafintosh commented 2 years ago

Fixed in master, the bug was in .from