summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-07-14 08:27:56 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-07-14 08:37:44 (GMT)
commit13d58a14da191cf7a5cdccc7a3d27dcf2309a928 (patch)
tree28919e2c223693e2003baaeb15cf040153cb81cf
parent705416cdc8ee91ac88d80298dbe2971a9384c196 (diff)
downloadQt-13d58a14da191cf7a5cdccc7a3d27dcf2309a928.zip
Qt-13d58a14da191cf7a5cdccc7a3d27dcf2309a928.tar.gz
Qt-13d58a14da191cf7a5cdccc7a3d27dcf2309a928.tar.bz2
Properly quit the input event thread in the directfb platform plugin.
Reviewed-by: Girish Ramakrishnan
-rw-r--r--src/plugins/platforms/directfb/qdirectfbintegration.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbintegration.cpp b/src/plugins/platforms/directfb/qdirectfbintegration.cpp
index 61f1d25..06b0b51 100644
--- a/src/plugins/platforms/directfb/qdirectfbintegration.cpp
+++ b/src/plugins/platforms/directfb/qdirectfbintegration.cpp
@@ -112,6 +112,8 @@ QDirectFbIntegration::QDirectFbIntegration()
QDirectFbIntegration::~QDirectFbIntegration()
{
mInput->stopInputEventLoop();
+ mInputRunner->quit();
+ mInputRunner->wait();
delete mInputRunner;
delete mInput;
}