mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-13 02:37:22 +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");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No memory pool assigned!\n");
|
||||||
return SWITCH_STATUS_TERM;
|
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;
|
avmd_globals.pool = pool;
|
||||||
|
|
||||||
if (avmd_load_xml_configuration(NULL) != SWITCH_STATUS_SUCCESS) {
|
if (avmd_load_xml_configuration(NULL) != SWITCH_STATUS_SUCCESS) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user