Commit acb0dfd8 authored by Martin Flöser's avatar Martin Flöser

[wayland] Don't leak our internal client connection thread object

Thanks ASAN!
parent 8175562a
......@@ -82,6 +82,7 @@ void WaylandServer::destroyInternalConnection()
m_internalConnection.client->deleteLater();
m_internalConnection.clientThread->quit();
m_internalConnection.clientThread->wait();
delete m_internalConnection.clientThread;
m_internalConnection.client = 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