1
This commit is contained in:
parent
ab63235836
commit
903d7d9b56
@ -27,9 +27,13 @@ namespace a8
|
||||
|
||||
AsyncTcpClient::~AsyncTcpClient()
|
||||
{
|
||||
// 999
|
||||
#if 1
|
||||
#else
|
||||
if (!list_empty(&connect_timer_attacher.timer_list_)) {
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
Close();
|
||||
A8_SAFE_DELETE(send_buffer_mutex_);
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ namespace a8
|
||||
std::string remote_address;
|
||||
int remote_port = 0;
|
||||
int timeout_ms = 1000 * 10;
|
||||
a8::XTimerAttacher connect_timer_attacher;
|
||||
a8::Attacher connect_timer_attacher;
|
||||
std::atomic<long long> ref_count;
|
||||
|
||||
AsyncTcpClient();
|
||||
|
Loading…
x
Reference in New Issue
Block a user