From f3d22a9094dfcb9a8c7bd51b1872b05b7cf47139 Mon Sep 17 00:00:00 2001 From: mread Date: Tue, 15 Feb 2011 12:51:41 +0000 Subject: 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 --- src/corelib/thread/qthread_symbian.cpp | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v0.12