1
This commit is contained in:
parent
ba2151d25c
commit
057c9b6161
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user