static void destroy_subscriptions(void)
{
- stasis_message_router_unsubscribe_and_join(cel_state_router);
- cel_state_router = NULL;
+ stasis_message_router_unsubscribe_and_join(cel_state_router);
+ cel_state_router = NULL;
- ao2_cleanup(cel_aggregation_topic);
- cel_aggregation_topic = NULL;
- ao2_cleanup(cel_topic);
- cel_topic = NULL;
+ ao2_cleanup(cel_aggregation_topic);
+ cel_aggregation_topic = NULL;
+ ao2_cleanup(cel_topic);
+ cel_topic = NULL;
cel_channel_forwarder = stasis_forward_cancel(cel_channel_forwarder);
cel_bridge_forwarder = stasis_forward_cancel(cel_bridge_forwarder);
aco_info_destroy(&cel_cfg_info);
ao2_global_obj_release(cel_configs);
- ast_cli_unregister(&cli_status);
- ao2_cleanup(cel_dialstatus_store);
- cel_dialstatus_store = NULL;
+ ast_cli_unregister(&cli_status);
+ ao2_cleanup(cel_dialstatus_store);
+ cel_dialstatus_store = NULL;
ao2_cleanup(linkedids);
linkedids = NULL;
ao2_cleanup(cel_backends);