summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-11-09 18:50:50 +0000
committerShane Kearns <shane.kearns@accenture.com>2011-11-16 14:33:54 +0000
commit574464cd7e2940f2dadc4d556e24b944cf222f3d (patch)
treed44f99464b7b8cd4326f3a85a46ff86f67ea71b6 /src/plugins
parent550d1d75740cda5be718b7ab36bb517ebb190439 (diff)
downloadqt4-tools-574464cd7e2940f2dadc4d556e24b944cf222f3d.tar.gz
fix bearer crash
Handle could be closed too early in some situations causing a panic. Reviewed-By: mread
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/bearer/symbian/qnetworksession_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bearer/symbian/qnetworksession_impl.cpp b/src/plugins/bearer/symbian/qnetworksession_impl.cpp
index a7dad2bb89..f5f71cf81d 100644
--- a/src/plugins/bearer/symbian/qnetworksession_impl.cpp
+++ b/src/plugins/bearer/symbian/qnetworksession_impl.cpp
@@ -97,7 +97,6 @@ void QNetworkSessionPrivateImpl::closeHandles()
QSymbianSocketManager::instance().setDefaultConnection(0);
- iConnectionMonitor.Close();
#ifdef QT_BEARERMGMT_SYMBIAN_DEBUG
qDebug() << "QNS this : " << QString::number((uint)this)
<< " - handles closed";
@@ -111,6 +110,7 @@ QNetworkSessionPrivateImpl::~QNetworkSessionPrivateImpl()
isOpening = false;
closeHandles();
+ iConnectionMonitor.Close();
#ifdef QT_BEARERMGMT_SYMBIAN_DEBUG
qDebug() << "QNS this : " << QString::number((uint)this)
<< " - destroyed";