FS-8588 fix deadlock in error condition

This commit is contained in:
Anthony Minessale 2015-12-01 13:54:20 -06:00
parent f563760604
commit 95a4bbc152
1 changed files with 1 additions and 0 deletions

View File

@ -618,6 +618,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_feed(switch_ivr_dmachine_t *
status = istatus;
}
} else {
switch_mutex_unlock(dmachine->mutex);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "dmachine overflow error!\n");
status = SWITCH_STATUS_FALSE;
}