diff --git a/src/lib/utils/thread.cpp b/src/lib/utils/thread.cpp old mode 100644 new mode 100755 index c92d6a21..1e20e68f --- a/src/lib/utils/thread.cpp +++ b/src/lib/utils/thread.cpp @@ -33,8 +33,8 @@ void* Thread::runThread(void* arg) Thread::~Thread() { if (m_started) { - pthread_detach(m_threadid); pthread_cancel(m_threadid); + pthread_detach(m_threadid); } }