mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-04 05:00:54 +08:00
程序退出时清空RtpProcess对象
This commit is contained in:
@@ -1155,6 +1155,8 @@ void installWebApi() {
|
||||
}
|
||||
|
||||
void unInstallWebApi(){
|
||||
RtpSelector::Instance().clear();
|
||||
|
||||
{
|
||||
lock_guard<recursive_mutex> lck(s_proxyMapMtx);
|
||||
s_proxyMap.clear();
|
||||
@@ -1164,6 +1166,7 @@ void unInstallWebApi(){
|
||||
lock_guard<recursive_mutex> lck(s_ffmpegMapMtx);
|
||||
s_ffmpegMap.clear();
|
||||
}
|
||||
|
||||
{
|
||||
#if defined(ENABLE_RTPPROXY)
|
||||
lock_guard<recursive_mutex> lck(s_rtpServerMapMtx);
|
||||
|
||||
Reference in New Issue
Block a user