summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-01-06 19:11:35 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-01-06 19:11:35 (GMT)
commit9cc21c043238dc7576a465c9d236e8968fd8c549 (patch)
tree7d80334de7ec83adf1dc80ebfdb68cd15562030f /src
parent679a545cb805382c97582dffa3fda4dbc438c81f (diff)
parent66cfe2a776b7542fe1d8bae9c0d7bb5be79406fd (diff)
downloadQt-9cc21c043238dc7576a465c9d236e8968fd8c549.zip
Qt-9cc21c043238dc7576a465c9d236e8968fd8c549.tar.gz
Qt-9cc21c043238dc7576a465c9d236e8968fd8c549.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fix KERN-EXEC 0 panic on exit when bearer is searching for WLANs
Diffstat (limited to 'src')
-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