summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-27 17:07:55 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-28 11:54:35 +1000
commit2ff0dee1b97348a750532223f0a318596c93d412 (patch)
tree6f1a20225ce20112ba991423a99c9f3149f0f888
parent4acbb418b1ad093ad848143218a10ee2957db282 (diff)
downloadqt4-tools-2ff0dee1b97348a750532223f0a318596c93d412.tar.gz
Closes properly the dbus connection in icd backend
-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 a879971ad4..9ef9dc33d7 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