Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only emit
close
on last request
emitting `close` early can affect the internal readable stream state. previously, this was emitted on chunks and reconnects.
- Loading branch information
db3f16f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in this commit seems to cause crashes in 60% of executions on my app when calling
downloadFromInfo
with this error:db3f16f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was fixed in the last few releases. will be updated on ytdl-core soon