summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptclass.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2010-04-12 12:13:35 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-04-12 12:48:19 (GMT)
commit9aa4538b219ed759a47e8d1f93c2797bf07b5e2f (patch)
tree072af7618be8bca90aba91c8b02cae2c920d74f2 /doc/src/snippets/code/src_script_qscriptclass.cpp
parent3ae7b648fb8531ca269bc44fffb52ba1aab75f97 (diff)
downloadQt-9aa4538b219ed759a47e8d1f93c2797bf07b5e2f.zip
Qt-9aa4538b219ed759a47e8d1f93c2797bf07b5e2f.tar.gz
Qt-9aa4538b219ed759a47e8d1f93c2797bf07b5e2f.tar.bz2
Fix a race where QThread::exit() is "lost" when called after start()
QThread::exit() tries to stop all running event loops, but does nothing if the eventloop has not started yet. This is often the case for short- exit method on an object that has affinity to the thread. This ensures that the exit is called from the running eventloop, meaning the exit() will never be lost. Task-number: QTBUG-1184 Reviewed-by: Morten Sørvig
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions