aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktext_p.h
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2012-01-18 11:22:31 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-24 10:53:44 +0100
commit635d0a7cf6601b2e46e0eed21a648934bc471c6d (patch)
treeffe00a240ddf021ce81154ec8db301391aabc1f3 /src/quick/items/qquicktext_p.h
parentc6497e5edcfc533574d4066aa9650eb6967693bc (diff)
Don't hang the worker script engine
1. Wake up the syncDone wait condition when delete the QDeclarativeListModelWorkerAgent, otherwise the the whole worker script engine thread will hang at the sync() call and can't exit gracefully. 2. Call QCoreApplication::processEvents() before delete the worker script engine to cleanup all pending events in main thread to release wait conditions which some worker scripts/agents are waiting for (QDeclarativeListModelWorkerAgent::sync() for example) Change-Id: Ia3712318771633e68238b4d629ba870ff7ce45b9 Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/quick/items/qquicktext_p.h')
0 files changed, 0 insertions, 0 deletions