This commit is contained in:
azw 2023-04-14 09:10:37 +00:00
parent ba2151d25c
commit 057c9b6161

View File

@ -58,15 +58,13 @@ void UpStream::UnInit()
delete pdelnode;
}
#if 0
f8::Timer::Instance()->DeleteTimer(timer_);
timer_ = nullptr;
#endif
if (!timer_wp_.expired()) {
f8::Timer::Instance()->Delete(timer_wp_);
}
tcp_client_->Close();
if(tcp_client_.use_count() != 1) {
abort();
}
tcp_client_ = nullptr;
recv_bufflen_ = 0;
free(recv_buff_);
recv_buff_ = nullptr;