Skip to content

Stopping a synchronous Server stalls #1499

Closed Answered by AiyionPrime
AiyionPrime asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind. Rereading it beat me to it.
The method I'm waiting for is my stop method which should not handle stopping the server synchronously.
It can't evaluate the result anyway, so calling the stop of my server async does the trick;
another approach would be setting a flag which an observer pattern watches and reacts on (and shuts down the server eventually)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AiyionPrime
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