summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-03-06 17:16:22 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-08-15 19:55:44 (GMT)
commite023874cf5177a910e10a381029af932a808d9a9 (patch)
treeeea3e6eb2366b3e7936998201b76396b499eba12
parentb2b5de8b1069f42002166e478a0f88d526ca61e1 (diff)
Fix crash when destroying Session
-rw-r--r--src/core/sessionthread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/sessionthread.cpp b/src/core/sessionthread.cpp
index a946ef7..a8827ad 100644
--- a/src/core/sessionthread.cpp
+++ b/src/core/sessionthread.cpp
@@ -83,4 +83,6 @@ void SessionThread::doThreadQuit()
conn->closeConnection();
delete conn;
}
+
+ thread()->quit();
}