summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPasi Pentikainen <pasi.a.pentikainen@nokia.com>2011-11-10 08:57:49 (GMT)
committerPasi Pentikainen <pasi.a.pentikainen@nokia.com>2011-11-10 08:57:49 (GMT)
commit0673a90310fe8deae9583f0a4f19885995cfb6ce (patch)
tree084cd135e86454e84a4243f3b0a6b2d20b44510e /src
parent40e04d9704fb68873bc957cc80be19947f9bfa36 (diff)
parent2bed1efe0c129b6ee3de02bde284872fee5603cc (diff)
downloadQt-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.cpp5
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();