Shutting down the server from another thread #1139
Answered
by
ghost
tommitytom
asked this question in
Q&A
|
I'm running a server in its own thread. It has no interaction with any other threads, however I would like to know if there is a way to shut down/destroy the server from my main thread |
Answered by
ghost
Dec 11, 2020
Replies: 1 comment
|
You cannot shut down the server from another thread but you can Loop::defer the shutting down from any thread: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You cannot shut down the server from another thread but you can Loop::defer the shutting down from any thread: