From 7818a1fa9c03ebc8115a01b9ca509da70178ab83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 14 Jun 2016 16:42:52 +0200 Subject: [PATCH] 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. --- wayland_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wayland_server.cpp b/wayland_server.cpp index 11b3ee4b75..5e2d04312f 100644 --- a/wayland_server.cpp +++ b/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; } }