TCPServer: check if loop thread is running before waiting for it
This commit is contained in:
@@ -149,6 +149,7 @@ protected:
|
||||
int m_defaultBacklog;
|
||||
|
||||
uv_thread_t m_loopThread;
|
||||
std::atomic<bool> m_loopThreadRunning;
|
||||
|
||||
static void loop(void* data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user