From 0d859b0f494a3f6a868a73ac5202987f930c90b5 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Wed, 29 Jul 2009 23:18:38 +0000 Subject: [PATCH] Delete subclass reservations on unload git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14429 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../event_handlers/mod_event_multicast/mod_event_multicast.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c index 0fdedf64cb..415034a97f 100644 --- a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c +++ b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c @@ -478,6 +478,8 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_event_multicast_shutdown) switch_event_unbind(&globals.node); switch_event_free_subclass(MULTICAST_EVENT); + switch_event_free_subclass(MULTICAST_PEERUP); + switch_event_free_subclass(MULTICAST_PEERDOWN); switch_core_hash_destroy(&globals.event_hash);