提交 5c7f0bc0 authored 作者: Andrew Cassidy's avatar Andrew Cassidy

FS-7734 fixed mutex lock that should be an unlock

上级 2a1195e5
......@@ -550,7 +550,7 @@ static switch_status_t do_billing(switch_core_session_t *session)
}
if (nibble_data && nibble_data->final_bill_done) {
switch_mutex_lock(globals.mutex);
switch_mutex_unlock(globals.mutex);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Received heartbeat, but final bill has been committed - ignoring\n");
return SWITCH_STATUS_SUCCESS;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论