-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
[streams] _flush not being called #53
Comments
It's down to this line -- specifically the (Tangentially, I'd love to move away from |
I agree since it always feels weird to me calling |
I'm closing this as the question was answered and there doesn't appear to be anything else immediately actionable here. Please feel free to re-open it if you disagree. |
In the following testcase the
_flush
callback is not being called afterstream.end()
.Simply removing the
stream.write(null);
line works fine.Is it possible to end a stream with
stream.write(null)
andstream.end()
or only the latter.If so, why does
stream.write(null)
preventstream.end()
from triggering_flush
?same behaviour on
v0.11.14
andv0.10.33
ref: #89
The text was updated successfully, but these errors were encountered: