diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index f25ca307b..a493970c9 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -128,9 +128,10 @@ CInfoViewerBB::~CInfoViewerBB() pthread_cancel(scrambledT); scrambledT = 0; } - if(hddperT) { + if(hddperTflag) { pthread_cancel(hddperT); hddperT = 0; + hddperTflag = false; } }