-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Stream.pipeline() does not call the callback on completion #34059
Comments
@nodejs/streams |
I thought #32373 was supposed to fix this. |
This works as intended. The callback is called in both cases. At least on Node 14. The |
I think we can close. |
Apologies - should have used better testing code! The problem is fixed in v14 (I assume #32373) so just waiting on the back port to v12. |
I use the following code to test the callback of the pipeline() function under node 12.18.0 and node 14.4.0:
Under Node 12.18.0, the callback on the second pipeline() is called on completion, but the callback on the first is not.
Same problem on Node 14.4.0.
Related to #26550 and maybe also #33237
The text was updated successfully, but these errors were encountered: