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

fix(ext/node): cancel pending ipc writes on channel close #26504

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

nathanwhit
Copy link
Member

@nathanwhit nathanwhit commented Oct 24, 2024

Fixes the issue described in #23882 (comment).

The parent was starting to send a message right before the process would exit, and the channel closed in the middle of the write. Unlike with reads, we weren't cancelling the pending writes, which resulted in a Broken pipe error surfacing to the user.

@nathanwhit nathanwhit enabled auto-merge (squash) October 24, 2024 04:15
@nathanwhit nathanwhit merged commit 27df42f into denoland:main Oct 24, 2024
17 checks passed
bartlomieju pushed a commit that referenced this pull request Oct 25, 2024
Fixes the issue described in
#23882 (comment).

The parent was starting to send a message right before the process would
exit, and the channel closed in the middle of the write. Unlike with
reads, we weren't cancelling the pending writes, which resulted in a
`Broken pipe` error surfacing to the user.
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.

2 participants