diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-11-09 18:50:50 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-11-16 14:33:54 (GMT) |
commit | 574464cd7e2940f2dadc4d556e24b944cf222f3d (patch) | |
tree | d44f99464b7b8cd4326f3a85a46ff86f67ea71b6 /src/plugins/bearer/symbian | |
parent | 550d1d75740cda5be718b7ab36bb517ebb190439 (diff) | |
download | Qt-574464cd7e2940f2dadc4d556e24b944cf222f3d.zip Qt-574464cd7e2940f2dadc4d556e24b944cf222f3d.tar.gz Qt-574464cd7e2940f2dadc4d556e24b944cf222f3d.tar.bz2 |
fix bearer crash
Handle could be closed too early in some situations causing a panic.
Reviewed-By: mread
Diffstat (limited to 'src/plugins/bearer/symbian')
-rw-r--r-- | src/plugins/bearer/symbian/qnetworksession_impl.cpp | 2 |
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 a7dad2b..f5f71cf 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"; |