Skip to content

Avoid errors when shutting down - #23

Open
ruricolist wants to merge 4 commits into
cxxxr:masterfrom
ruricolist:master
Open

ruricolist wants to merge 4 commits into
cxxxr:masterfrom
ruricolist:master

Conversation

@ruricolist

Copy link
Copy Markdown

This tries to prevent signaling errors when the server is shut down or a client disconnects. Such errors can come from (1) trying to interrupt a thread that has already exited, (2) a background thread trying to read from a closed stream, or (3) a background thread trying to write to a closed stream.

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.

1 participant