summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-05-08 13:11:34 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-05-08 13:11:34 (GMT)
commita138ef980ae017c940142e18f2532aa0938f14c3 (patch)
tree924bc5809701e4a547c2724dbd31bc6472f14fb4 /src
parent59269e19f8e8ae2d9ab8edddab7379cf3ed91891 (diff)
downloadQt-a138ef980ae017c940142e18f2532aa0938f14c3.zip
Qt-a138ef980ae017c940142e18f2532aa0938f14c3.tar.gz
Qt-a138ef980ae017c940142e18f2532aa0938f14c3.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qeventdispatcher_symbian.cpp1
1 files changed, 0 insertions, 1 deletions
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;
}
}