mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-22 05:50:53 +08:00
修复可能存在的bug
This commit is contained in:
@@ -1066,7 +1066,7 @@ inline void RtspSession::startListenPeerUdpData(int trackIdx) {
|
||||
return false;
|
||||
}
|
||||
struct sockaddr addr=*pPeerAddr;
|
||||
strongSelf->async_first([weakSelf,pBuf,addr,iTrackIdx]() {
|
||||
strongSelf->async([weakSelf,pBuf,addr,iTrackIdx]() {
|
||||
auto strongSelf=weakSelf.lock();
|
||||
if(!strongSelf) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user