提交 33460064 authored 作者: Raymond Chandler's avatar Raymond Chandler

CID: 1210739

上级 a4e0929e
......@@ -680,7 +680,7 @@ static void nibblebill_pause(switch_core_session_t *session)
if (!nibble_data) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Can't pause - channel is not initialized for billing!\n");
return;
goto end;
}
/* Set pause counter if not already set */
......@@ -689,6 +689,7 @@ static void nibblebill_pause(switch_core_session_t *session)
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Paused billing timestamp!\n");
end:
/* Done checking - release lock */
if (globals.mutex) {
switch_mutex_unlock(globals.mutex);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论