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

Origin commit data
------------------
Branch: ni/coolstream
Commit: f957bbaa37
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-11-16 (Wed, 16 Nov 2016)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-11-16 19:29:19 +01:00
parent 874a27d7b2
commit 70a6056d49

View File

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