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