src/gui/channellist.cpp cancel paint_events thread on hide

This commit is contained in:
Jacek Jendrzej
2016-11-16 19:29:19 +01:00
parent b657ef8b3c
commit f957bbaa37

View File

@@ -960,13 +960,14 @@ int CChannelList::show()
void CChannelList::hide()
{
paint_events(-2); // cancel paint_events thread
if ((g_settings.channellist_additional == 2) || (previous_channellist_additional == 2)) // with miniTV
{
if (cc_minitv)
delete cc_minitv;
cc_minitv = NULL;
}
if(header)
header->kill();
if (CChannelLogo){
CChannelLogo->kill();