summaryrefslogtreecommitdiff
path: root/ext/napi/lib.rs
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-10-23 21:50:35 -0700
committerGitHub <noreply@github.com>2024-10-24 04:50:35 +0000
commit27df42f659ae7b77968d31363ade89addb516ea1 (patch)
tree4668ce4fe1b1bb32a4397b511dff46a818eab7a1 /ext/napi/lib.rs
parent7c57105cc41cf16c5f48f85d85c7fd9bd3bb4d1f (diff)
fix(ext/node): cancel pending ipc writes on channel close (#26504)
Fixes the issue described in https://github.com/denoland/deno/issues/23882#issuecomment-2423316362. 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.
Diffstat (limited to 'ext/napi/lib.rs')
0 files changed, 0 insertions, 0 deletions