提交 d1990602 authored 作者: Seven Du's avatar Seven Du

FS-7036 #resolve #comment fixed in master

originate takes care of new thread on outgoging calls, extra thread_launch causes race
上级 ec827d0e
......@@ -672,11 +672,6 @@ switch_call_cause_t rtmp_outgoing_channel(switch_core_session_t *session, switch
rtmp_set_channel_variables(*newsession);
switch_core_hash_insert_wrlock(rsession->session_hash, switch_core_session_get_uuid(*newsession), tech_pvt, rsession->session_rwlock);
if (switch_core_session_thread_launch(tech_pvt->session) == SWITCH_STATUS_FALSE) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Couldn't spawn thread\n");
goto fail;
}
if (rsession) {
rtmp_session_rwunlock(rsession);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论