Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bridge pollfd corruption on Windows.
Closes #2173. Thanks to Niclas Lindgren.
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 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
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
238b686
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be the same as I saw, as long as no mux__delete wasn't missed before a net__socket_close, I did the same inside net__socket_close, which felt wrong(that layer shouldn't know about mux really), but was quick test.
238b686
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, I'm not entirely happy with how this is now but it's certainly better than being in net__socket_close().