提交 5ee745af authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-8721 last should only be set on the ones we skip that will not be destroyed

上级 2c37bbab
...@@ -1124,7 +1124,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_remove_all_function(switch ...@@ -1124,7 +1124,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_remove_all_function(switch
} else { } else {
session->bugs = bp->next; session->bugs = bp->next;
} }
last = bp;
} }
switch_thread_rwlock_unlock(session->bug_rwlock); switch_thread_rwlock_unlock(session->bug_rwlock);
status = SWITCH_STATUS_SUCCESS; status = SWITCH_STATUS_SUCCESS;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论