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 |
Beta Was this translation helpful? Give feedback.
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:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
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: