From 2786e44d73514f2c046654a66ccda1bbbb686a20 Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 21 Feb 2015 13:19:05 +0100 Subject: [PATCH] simplified --- src/lib/utils/thread.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/utils/thread.cpp b/src/lib/utils/thread.cpp index ec80ceb6..b44042c4 100644 --- a/src/lib/utils/thread.cpp +++ b/src/lib/utils/thread.cpp @@ -34,8 +34,6 @@ Thread::~Thread() { if (m_started) { pthread_detach(m_threadid); - } - if (m_started) { pthread_cancel(m_threadid); } }