summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread_unix.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-10-30 19:55:01 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-10-30 19:55:01 (GMT)
commit248130e6f159cf9b00cd8d4587a2f9e961eaf577 (patch)
treea18b1f9cb98bfa634adc92f799baea0818603251 /src/corelib/thread/qthread_unix.cpp
parentc80df14aa4e7e31f4b9d19c23ed9e7793486d70e (diff)
parent856711caba2736ca9330f086635b418322462c3a (diff)
downloadQt-248130e6f159cf9b00cd8d4587a2f9e961eaf577.zip
Qt-248130e6f159cf9b00cd8d4587a2f9e961eaf577.tar.gz
Qt-248130e6f159cf9b00cd8d4587a2f9e961eaf577.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Add autotest for QScriptExtensionPlugin Improve QtScript test coverage Don't crash when null-pointer is passed to qScriptValueFromValue() Simplify object lifetime management when moving objects to a QThread samegame: white space Move list of trusted benchmarks out of QA dungeon and into Qt Don't put Objective-C sources in SOURCES mkspecs: Emit warning when including g++.conf directly
Diffstat (limited to 'src/corelib/thread/qthread_unix.cpp')
-rw-r--r--src/corelib/thread/qthread_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp
index daf1a93..f508c0a 100644
--- a/src/corelib/thread/qthread_unix.cpp
+++ b/src/corelib/thread/qthread_unix.cpp
@@ -345,6 +345,7 @@ void QThreadPrivate::finish(void *arg)
emit thr->terminated();
d->terminated = false;
emit thr->finished();
+ QCoreApplication::sendPostedEvents(0, QEvent::DeferredDelete);
if (d->data->eventDispatcher) {
d->data->eventDispatcher->closingDown();