From a138ef980ae017c940142e18f2532aa0938f14c3 Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Fri, 8 May 2009 16:11:34 +0300 Subject: Removed CActiveScheduler::Install(NULL) from closingDown. When calling QThread::terminate - closingDown is not called from QThread context, but from thread which is called terminate. In this case, if we Install(NULL) AS, we will actually remove the AS from calling thread not from terminated thread. Since thread is anyway going to be terminated there is not much point on setting AS to NULL. --- src/corelib/kernel/qeventdispatcher_symbian.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp index 3110e63..6c47c7b 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian.cpp +++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp @@ -505,7 +505,6 @@ void QEventDispatcherSymbian::closingDown() delete m_wakeUpAO; if (m_activeScheduler) { - CActiveScheduler::Install(NULL); delete m_activeScheduler; } } -- cgit v0.12