diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | server/componentIGMP.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -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 diff --git a/server/componentIGMP.c b/server/componentIGMP.c index 9ad7d30..223aa3c 100644 --- a/server/componentIGMP.c +++ b/server/componentIGMP.c @@ -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()) |