FS-8190: fix build regression from original FS-8190 commit

This commit is contained in:
Michael Jerris 2015-09-23 16:40:13 -05:00
parent 8b7465425d
commit c167eb7d5d

View File

@ -5274,9 +5274,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_rayo_load)
*/
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_rayo_shutdown)
{
switch_event_free_subclass("rayo::cpa");
switch_status_t result;
switch_status_t result = do_shutdown();
switch_event_free_subclass("rayo::cpa");
result = do_shutdown();
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Module shutdown\n");
return result;
}