Skip to content

ConnectionWatchdog reconnecting even after client has been shutdown #1734

Answered by mp911de
perlun asked this question in Q&A
Discussion options

You must be logged in to vote

The order in which resources are shut down is wrong. ClientResources must be disposed last because it contains the worker thread pools. Stopping threads before closing the connection/client leads to strange effects and is wrong API usage.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@perlun
Comment options

@perlun
Comment options

Answer selected by perlun
Comment options

You must be logged in to vote
1 reply
@perlun
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants