mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 20:12:39 +03:00
rearranged the deletion orders of clientlistener and server #4313
This commit is contained in:
parent
4e42b9fdbd
commit
d15c99f41d
@ -338,8 +338,8 @@ void
|
||||
ServerApp::stopServer()
|
||||
{
|
||||
if (m_serverState == kStarted) {
|
||||
closeClientListener(m_listener);
|
||||
closeServer(m_server);
|
||||
closeClientListener(m_listener);
|
||||
m_server = NULL;
|
||||
m_listener = NULL;
|
||||
m_serverState = kInitialized;
|
||||
|
Loading…
Reference in New Issue
Block a user