From 96778e33fb1942faa850ddd42362d0e2aec72567 Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 6 Jun 2015 12:52:36 +0200 Subject: [PATCH] fix for issue #6 --- src/lib/utils/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/lib/utils/thread.cpp 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); } }