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

stream: call end(cb) callback after destroy #29859

Closed
wants to merge 1 commit into from

Conversation

ronag
Copy link
Member

@ronag ronag commented Oct 6, 2019

Don't deadlock calls to end(cb) after destroy(). This only partly fixes the problem in order to minimize breakage.

This becomes relevant in the future for e.g. deprecating fileStream.close(cb) in favor of fileStream.end(cb).

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the stream Issues and PRs related to the stream subsystem. label Oct 6, 2019
@ronag ronag force-pushed the stream-end-cb-destroyed branch 3 times, most recently from 3809d0f to 4006ad8 Compare October 6, 2019 12:54
Don't deadlock calls to end(cb) after destroy(). This only
partly fixes the problem in order to minimize breakage.
@ronag
Copy link
Member Author

ronag commented Oct 6, 2019

Merged into #29747

@ronag ronag closed this Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stream Issues and PRs related to the stream subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants