[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/utils/filelight/src/part
From:       Martin Tobias Holmedahl Sandsmark <sandsmark () samfundet ! no>
Date:       2009-10-08 0:49:06
Message-ID: 1254962946.035074.30624.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1032518 by sandsmark:

don't call QThread::terminate(), as we already know the thread has ended when we're \
called, and it might cause threading issues

 M  +0 -1      scan.cpp  


--- trunk/playground/utils/filelight/src/part/scan.cpp #1032517:1032518
@@ -204,7 +204,6 @@
     QMutexLocker locker(&m_mutex); // This gets released once it is destroyed.
 
     if (m_thread) {
-        m_thread->terminate();
         kDebug() << "Waiting for thread to terminate ...";
         m_thread->wait();
         kDebug() << "Thread terminated!";


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic