提交 493085bb authored 作者: Christopher Rienzo's avatar Christopher Rienzo

fixed unimrcp to prevent double destroy of connection

上级 3484f338
...@@ -804,9 +804,6 @@ static apt_bool_t rtsp_client_on_disconnect(rtsp_client_t *client, rtsp_client_c ...@@ -804,9 +804,6 @@ static apt_bool_t rtsp_client_on_disconnect(rtsp_client_t *client, rtsp_client_c
remaining_handles = apr_hash_count(rtsp_connection->session_table); remaining_handles = apr_hash_count(rtsp_connection->session_table);
} }
if(!remaining_handles && !cancelled_requests) {
rtsp_client_connection_destroy(rtsp_connection);
}
return TRUE; return TRUE;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论