CInfoViewerBB: avoid crash in destructor

Origin commit data
------------------
Commit: 41299cf7d9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
This commit is contained in:
Stefan Seyfried
2013-04-14 19:13:31 +02:00
committed by Jacek Jendrzej
parent 2685bd2e97
commit b8bd73af8f

View File

@@ -128,9 +128,10 @@ CInfoViewerBB::~CInfoViewerBB()
pthread_cancel(scrambledT);
scrambledT = 0;
}
if(hddperT) {
if(hddperTflag) {
pthread_cancel(hddperT);
hddperT = 0;
hddperTflag = false;
}
}