properly shutdown IGMP timeout handler thread when the plugin is stopped.

Fixes occasional segfaults on VDR exit.
This commit is contained in:
Frank Schmirler 2011-11-13 23:27:46 +01:00
parent 30674fb6c8
commit f9224d0618
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
- properly shutdown IGMP timeout handler thread when the plugin is stopped.
Fixes occasional segfaults on VDR exit.
- fixed memory leak in libdvbmpeg read_pes (thanks to Ville Skyttä)
- dropped several unused functions in libdvbmpeg
- restricted VTP command RENR to liemikuutio patch < 1.32. Build fails with

View File

@ -144,7 +144,9 @@ void cComponentIGMP::Destruct(void)
{
if (m_MaxChannelNumber > 0)
{
Cancel(3);
Cancel(-1);
m_CondWait.Signal();
Cancel(2);
for (cChannel *channel = Channels.First(); channel; channel = Channels.Next(channel))
{
if (channel->GroupSep())