CChannelList: Fix OSD error when exit the zap history

This commit is contained in:
M. Liebmann
2014-09-28 08:35:39 +02:00
committed by [CST] Focus
parent 879652a300
commit 2ae4e4819b

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();