mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-22 00:32:18 +00:00
FS-11708 Fix deadlock on 'avmd uuid stop'
This commit is contained in:
parent
70dc40e680
commit
c8e9eeaec9
@ -1151,7 +1151,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_avmd_load) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No memory pool assigned!\n");
|
||||
return SWITCH_STATUS_TERM;
|
||||
}
|
||||
switch_mutex_init(&avmd_globals.mutex, SWITCH_MUTEX_DEFAULT, pool);
|
||||
switch_mutex_init(&avmd_globals.mutex, SWITCH_MUTEX_NESTED, pool);
|
||||
avmd_globals.pool = pool;
|
||||
|
||||
if (avmd_load_xml_configuration(NULL) != SWITCH_STATUS_SUCCESS) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user