CInfoViewerBB: avoid crash in destructor

Origin commit data
------------------
Branch: ni/coolstream
Commit: 71b8b37f11
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-04-14 19:13:31 +02:00
parent cab87c2e54
commit 434eeb2386

View File

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