CChannelList: Fix OSD error when exit the zap history

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2ae4e4819b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-28 (Sun, 28 Sep 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-09-28 08:35:39 +02:00
committed by [CST] Focus
parent 116e13c038
commit 7072095ead

View File

@@ -137,11 +137,9 @@ CChannelList::~CChannelList()
cc_minitv = NULL;
}
if (headerClock) {
headerClock->Stop();
if (headerClock->isPainted())
headerClock->hide();
if (headerClock->isClockRun())
headerClock->stopThread();
headerClock->clearSavedScreen();
delete headerClock;
headerClock = NULL;
}
if (CChannelLogo) {
@@ -1020,7 +1018,7 @@ void CChannelList::hide()
}
if (headerClock) {
if (headerClock->Stop())
headerClock->kill();
headerClock->hide();
}
frameBuffer->paintBackgroundBoxRel(x, y, full_width, height + info_height);
clearItem2DetailsLine();