summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-03-03 10:00:48 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2015-03-05 14:57:40 +0000
commit603d9bb1f49c58f2958460bc96093c684d0165cc (patch)
tree391b8a944dab14fdd204219cf7ad67d87fa309fc /src/libs
parent739fb83870fefbeeb3d92e92670c6cbe65f5c963 (diff)
Make sure RemoteClient's localsocket is freed early enough on shutdown
Change-Id: Idb0afb201f4759696988566f08baeb156c3bb7be Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/installer/remoteclient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/remoteclient.cpp b/src/libs/installer/remoteclient.cpp
index 12cec0efa..445354f89 100644
--- a/src/libs/installer/remoteclient.cpp
+++ b/src/libs/installer/remoteclient.cpp
@@ -79,6 +79,7 @@ void RemoteClient::shutdown()
{
Q_D(RemoteClient);
d->shutdown();
+ d_ptr.reset();
}
bool RemoteClient::isActive() const