diff --git a/wayland_server.cpp b/wayland_server.cpp index d8d216ab81..aa2bf07b72 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -84,6 +84,7 @@ void WaylandServer::destroyInternalConnection() m_internalConnection.clientThread->wait(); delete m_internalConnection.clientThread; m_internalConnection.client = nullptr; + m_internalConnection.server->destroy(); } }