mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 17:41:53 +00:00
destroy ss7 configs on shutdown
This commit is contained in:
parent
99402dd4e0
commit
4704a30a45
@ -3391,6 +3391,17 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_freetdm_load)
|
|||||||
|
|
||||||
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_freetdm_shutdown)
|
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_freetdm_shutdown)
|
||||||
{
|
{
|
||||||
|
switch_hash_index_t *hi;
|
||||||
|
|
||||||
|
const void *var;
|
||||||
|
void *val;
|
||||||
|
|
||||||
|
/* destroy ss7 configs */
|
||||||
|
for (hi = switch_hash_first(NULL, globals.ss7_configs); hi; hi = switch_hash_next(hi)) {
|
||||||
|
switch_hash_this(hi, &var, NULL, &val);
|
||||||
|
ftdm_conf_node_destroy(val);
|
||||||
|
}
|
||||||
|
|
||||||
ftdm_global_destroy();
|
ftdm_global_destroy();
|
||||||
|
|
||||||
// this breaks pika but they are MIA so *shrug*
|
// this breaks pika but they are MIA so *shrug*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user