CInfoViewerBB: avoid crash in destructor

Origin commit data
------------------
Branch: ni/coolstream
Commit: bd22ca2497
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
committed by [CST] Focus
parent 8b1711db7a
commit 4b0f49674f

View File

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