Commit 7818a1fa authored by Martin Flöser's avatar Martin Flöser

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.
parent f5b83d18
......@@ -95,6 +95,7 @@ void WaylandServer::destroyInternalConnection()
delete m_internalConnection.clientThread;
m_internalConnection.client = nullptr;
m_internalConnection.server->destroy();
m_internalConnection.server = nullptr;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment