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.
remotes/origin/Plasma/5.7
Martin Gräßlin 10 years ago
parent f5b83d18b8
commit 7818a1fa9c
  1. 1
      wayland_server.cpp

@ -95,6 +95,7 @@ void WaylandServer::destroyInternalConnection()
delete m_internalConnection.clientThread;
m_internalConnection.client = nullptr;
m_internalConnection.server->destroy();
m_internalConnection.server = nullptr;
}
}

Loading…
Cancel
Save