summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-01-07 16:06:12 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-01-07 16:06:12 (GMT)
commite77f4301e8154212d1410a762e0e0279c5b3069c (patch)
treea51768c3763d426567816cc2b9d5b6a59e56990a /src/plugins
parent606294044df3cf318bd6bb6f2e73389d84e3a032 (diff)
parent2f2837888324b6d75ac1be170790772d1fcf5f17 (diff)
downloadQt-e77f4301e8154212d1410a762e0e0279c5b3069c.zip
Qt-e77f4301e8154212d1410a762e0e0279c5b3069c.tar.gz
Qt-e77f4301e8154212d1410a762e0e0279c5b3069c.tar.bz2
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/bearer/symbian/symbianengine.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/bearer/symbian/symbianengine.cpp b/src/plugins/bearer/symbian/symbianengine.cpp
index f025d86..a370d78 100644
--- a/src/plugins/bearer/symbian/symbianengine.cpp
+++ b/src/plugins/bearer/symbian/symbianengine.cpp
@@ -144,6 +144,10 @@ SymbianEngine::~SymbianEngine()
{
Cancel();
+ //The scanner may be using the connection monitor so it needs to be
+ //deleted first while the handle is still valid.
+ delete ipAccessPointsAvailabilityScanner;
+
iConnectionMonitor.CancelNotifications();
iConnectionMonitor.Close();
@@ -151,8 +155,6 @@ SymbianEngine::~SymbianEngine()
iCmManager.Close();
#endif
- delete ipAccessPointsAvailabilityScanner;
-
// CCommsDatabase destructor uses cleanup stack. Since QNetworkConfigurationManager
// is a global static, but the time we are here, E32Main() has been exited already and
// the thread's default cleanup stack has been deleted. Without this line, a