Skip to content

Ws close handler not called when server is gracefully shutdown #299

Answered by ghost
dandoen asked this question in Q&A
Discussion options

You must be logged in to vote

This is by design. You're closing the listen socket. This has nothing to do with the websockets, they remain open.

If you want to close the websockets then you call close on them

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #299 on December 09, 2020 05:28.