From 45f05e32294680f15257990122ba42ef6049f13b Mon Sep 17 00:00:00 2001 From: Aaron McCarthy Date: Mon, 27 Sep 2010 17:07:55 +1000 Subject: Closes properly the dbus connection in icd backend (cherry picked from commit 2ff0dee1b97348a750532223f0a318596c93d412) --- src/plugins/bearer/icd/qnetworksession_impl.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v0.12