summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/componentIGMP.c4
1 files changed, 3 insertions, 1 deletions
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())