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