mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
修复可能存在的bug
This commit is contained in:
parent
f881860adb
commit
e52c67b3af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user