1
This commit is contained in:
parent
cfdeca99ac
commit
399e2a8f98
@ -18,7 +18,11 @@ namespace a8
|
|||||||
|
|
||||||
UdpSession::~UdpSession()
|
UdpSession::~UdpSession()
|
||||||
{
|
{
|
||||||
|
if (recv_buff_) {
|
||||||
|
recv_bufflen_ = 0;
|
||||||
|
free(recv_buff_);
|
||||||
|
recv_buff_ = nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void UdpSession::Update()
|
void UdpSession::Update()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user