Skip to content

Conversation

djholtby
Copy link

  • changes ws-conn-read-thread to hold a reference to ws-conn weakly, so that the ws-conn can be garbage collected even if it is still active
  • the will closes the connection if it is still closed (so the client will not see a broken-pipe error, but proper websocket disconnect)
  • the thread stops if the ws-conn is collected (break is not needed in the will)

* changes ws-conn-read-thread to hold a reference to ws-conn weakly, so that
  the ws-conn can be garbage collected even if it is still active
* the will closes the connection if it is still closed (so the client will
  not see a broken-pipe error, but proper websocket disconnect)
* the thread stops if the ws-conn is collected (break is not needed in the will)
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