Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fix for early stream closure via pipeline #109

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

MorningLightMountain713
Copy link
Contributor

If the readableStream "pack" is closed via pipeline (eg the writable stream is closed instantly) before all the entries have been ingested, there is an error when pack.entry is called.

Thist pull just checks before calling pack.entry that the stream is still open.

@mafintosh
Copy link
Owner

Excellent

@MorningLightMountain713
Copy link
Contributor Author

Can I get this merged please. This is a blocker for me on another project.

Cheers!

@mafintosh mafintosh merged commit c3ad7bc into mafintosh:master Apr 26, 2024
3 checks passed
@mafintosh
Copy link
Owner

3.0.6 there you go

@MorningLightMountain713
Copy link
Contributor Author

3.0.6 there you go

Amazing! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants