summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread_symbian.cpp
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2011-02-15 12:51:41 (GMT)
committermread <qt-info@nokia.com>2011-03-09 12:45:49 (GMT)
commitf3d22a9094dfcb9a8c7bd51b1872b05b7cf47139 (patch)
tree2638f6f01465ee09285da26cc0d50d518c18bc19 /src/corelib/thread/qthread_symbian.cpp
parent5ab8d2ac9e07ee7cb9ad442a651b9bdb2acc1d87 (diff)
downloadQt-f3d22a9094dfcb9a8c7bd51b1872b05b7cf47139.zip
Qt-f3d22a9094dfcb9a8c7bd51b1872b05b7cf47139.tar.gz
Qt-f3d22a9094dfcb9a8c7bd51b1872b05b7cf47139.tar.bz2
Removed unnecessary ref() on QThreadData
Symbian's QThreadPrivate::start had a ref() on QThreadData which was causing it to never be deleted. This made sense in Unix, where there was always a deref in the thread cleanup. But this does not happen in Symbian. Task-number: QTBUG-13990 Reviewed-by: Shane Kearns
Diffstat (limited to 'src/corelib/thread/qthread_symbian.cpp')
-rw-r--r--src/corelib/thread/qthread_symbian.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread_symbian.cpp b/src/corelib/thread/qthread_symbian.cpp
index b68453c..25027dd 100644
--- a/src/corelib/thread/qthread_symbian.cpp
+++ b/src/corelib/thread/qthread_symbian.cpp
@@ -207,7 +207,6 @@ void *QThreadPrivate::start(void *arg)
set_thread_data(data);
- data->ref();
data->quitNow = false;
// ### TODO: allow the user to create a custom event dispatcher