summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-27 07:07:55 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-29 02:30:08 (GMT)
commit45f05e32294680f15257990122ba42ef6049f13b (patch)
treeb76853cbccf60798d7999b1698781fe256da2b7f
parentd6da3caf5692efbf3b927c902888ea679a0ef8f1 (diff)
downloadQt-45f05e32294680f15257990122ba42ef6049f13b.zip
Qt-45f05e32294680f15257990122ba42ef6049f13b.tar.gz
Qt-45f05e32294680f15257990122ba42ef6049f13b.tar.bz2
Closes properly the dbus connection in icd backend
(cherry picked from commit 2ff0dee1b97348a750532223f0a318596c93d412)
-rw-r--r--src/plugins/bearer/icd/qnetworksession_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/bearer/icd/qnetworksession_impl.h b/src/plugins/bearer/icd/qnetworksession_impl.h
index a879971..9ef9dc3 100644
--- a/src/plugins/bearer/icd/qnetworksession_impl.h
+++ b/src/plugins/bearer/icd/qnetworksession_impl.h
@@ -126,6 +126,8 @@ public:
~QNetworkSessionPrivateImpl()
{
cleanupSession();
+
+ QDBusConnection::disconnectFromBus(m_dbusInterface->connection().name());
}
//called by QNetworkSession constructor and ensures