forked from servo/ipc-channel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For unix OSes make sure to close the file descriptor on ChannelClosed. The file descriptors should be closed in select to avoid leaking fds after removal from pollfds (servo#96). After e06edbc this is safe and avoids the previously seen race condition due to file descriptor reuse.
- Loading branch information
1 parent
e06edbc
commit 2e1081c
Showing
1 changed file
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters