[wayland] Dispatch the WaylandServer once more before killing internal client
This is needed to not deadlock during tear down in case the client wants to dispatch events and the server is in wait for client.
This commit is contained in:
parent
3619d58044
commit
7253235a28
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ WaylandServer::WaylandServer(QObject *parent)
|
|||
WaylandServer::~WaylandServer()
|
||||
{
|
||||
if (m_internalConnection.client) {
|
||||
dispatch();
|
||||
m_internalConnection.client->deleteLater();
|
||||
m_internalConnection.clientThread->quit();
|
||||
m_internalConnection.clientThread->wait();
|
||||
|
|
Loading…
Reference in a new issue