修复编译问题:#584

This commit is contained in:
xiongziliang
2020-11-21 22:32:01 +08:00
parent 751f42fe1e
commit 408a678ade
3 changed files with 8 additions and 2 deletions

View File

@@ -1155,8 +1155,6 @@ void installWebApi() {
}
void unInstallWebApi(){
RtpSelector::Instance().clear();
{
lock_guard<recursive_mutex> lck(s_proxyMapMtx);
s_proxyMap.clear();
@@ -1169,6 +1167,7 @@ void unInstallWebApi(){
{
#if defined(ENABLE_RTPPROXY)
RtpSelector::Instance().clear();
lock_guard<recursive_mutex> lck(s_rtpServerMapMtx);
s_rtpServerMap.clear();
#endif