diff options
author | Pasi Pentikainen <pasi.a.pentikainen@nokia.com> | 2011-11-10 08:57:49 (GMT) |
---|---|---|
committer | Pasi Pentikainen <pasi.a.pentikainen@nokia.com> | 2011-11-10 08:57:49 (GMT) |
commit | 0673a90310fe8deae9583f0a4f19885995cfb6ce (patch) | |
tree | 084cd135e86454e84a4243f3b0a6b2d20b44510e /src | |
parent | 40e04d9704fb68873bc957cc80be19947f9bfa36 (diff) | |
parent | 2bed1efe0c129b6ee3de02bde284872fee5603cc (diff) | |
download | Qt-0673a90310fe8deae9583f0a4f19885995cfb6ce.zip Qt-0673a90310fe8deae9583f0a4f19885995cfb6ce.tar.gz Qt-0673a90310fe8deae9583f0a4f19885995cfb6ce.tar.bz2 |
Merge remote-tracking branch 'flex/master'
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_symbian.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp index ef331f6..ea466f5 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian.cpp +++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp @@ -923,10 +923,15 @@ private: void IdleLoop() { + // Create cleanup stack. + // Mutex handling may contain cleanupstack usage. + CTrapCleanup *cleanup = CTrapCleanup::New(); + q_check_ptr(cleanup); while (!m_stop) { m_kick.acquire(); m_state = STATE_RUN; } + delete cleanup; } static void StopIdleDetectorThread(); |