mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CChannelList: delete and reset minitv object inside unified scope
This commit is contained in:
@@ -949,9 +949,9 @@ 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 (cc_minitv){
|
||||
delete cc_minitv; cc_minitv = NULL;
|
||||
}
|
||||
}
|
||||
if(header)
|
||||
header->kill();
|
||||
|
Reference in New Issue
Block a user