From 0e68d504c956c0e5bf322687fa3efabd796ccf8b Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Sun, 3 Jan 2016 12:56:36 +0100 Subject: [PATCH] Remove redundant pthread_cancel() call --- src/gui/screensaver.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index f8b027c56..c6cb91405 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -112,10 +112,6 @@ void CScreenSaver::Stop() thrScreenSaver = 0; } - if(thrScreenSaver) - pthread_cancel(thrScreenSaver); - thrScreenSaver = 0; - if (scr_clock){ scr_clock->Stop(); delete scr_clock;