Set internal ClientConnection to null after destroying it
Bshah hit a strange crash which I can only explain by the variable not being set to null after destroying.
This commit is contained in:
parent
f5b83d18b8
commit
7818a1fa9c
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ void WaylandServer::destroyInternalConnection()
|
|||
delete m_internalConnection.clientThread;
|
||||
m_internalConnection.client = nullptr;
|
||||
m_internalConnection.server->destroy();
|
||||
m_internalConnection.server = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue