mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-21 00:57:50 +08:00
完善
This commit is contained in:
parent
b649372873
commit
c64d1a3ad8
@ -17,7 +17,9 @@ UdpRecver::UdpRecver() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
UdpRecver::~UdpRecver() {
|
UdpRecver::~UdpRecver() {
|
||||||
_sock->setOnRead(nullptr);
|
if(_sock){
|
||||||
|
_sock->setOnRead(nullptr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool UdpRecver::initSock(uint16_t local_port,const char *local_ip) {
|
bool UdpRecver::initSock(uint16_t local_port,const char *local_ip) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user