From c167eb7d5dfe581188b9b3bb79da29af27b6b363 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 23 Sep 2015 16:40:13 -0500 Subject: [PATCH] FS-8190: fix build regression from original FS-8190 commit --- src/mod/event_handlers/mod_rayo/mod_rayo.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index 60224cd9db..11828ce328 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -5273,10 +5273,11 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_rayo_load) * Shutdown module. Notifies threads to stop. */ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_rayo_shutdown) -{ +{ + switch_status_t result; + switch_event_free_subclass("rayo::cpa"); - - switch_status_t result = do_shutdown(); + result = do_shutdown(); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Module shutdown\n"); return result; }