[wayland] Don't leak our internal client connection thread object
Thanks ASAN!
This commit is contained in:
parent
8175562a7a
commit
acb0dfd893
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ void WaylandServer::destroyInternalConnection()
|
||||||
m_internalConnection.client->deleteLater();
|
m_internalConnection.client->deleteLater();
|
||||||
m_internalConnection.clientThread->quit();
|
m_internalConnection.clientThread->quit();
|
||||||
m_internalConnection.clientThread->wait();
|
m_internalConnection.clientThread->wait();
|
||||||
|
delete m_internalConnection.clientThread;
|
||||||
m_internalConnection.client = nullptr;
|
m_internalConnection.client = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue