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
1 changed files with 4 additions and 3 deletions

View File

@ -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;
}