1
This commit is contained in:
parent
2a4941c0b1
commit
b24c4c73e7
@ -143,9 +143,9 @@ std::shared_ptr<PendingAccount> DownStreamMgr::GetPendingAccount(int socket_hand
|
|||||||
|
|
||||||
void DownStreamMgr::RemovePendingAccount(int socket_handle)
|
void DownStreamMgr::RemovePendingAccount(int socket_handle)
|
||||||
{
|
{
|
||||||
f8::UdpLog::Instance()->Info("RemovePendingAccount %d", {socket_handle});
|
|
||||||
auto itr = pending_account_hash_.find(socket_handle);
|
auto itr = pending_account_hash_.find(socket_handle);
|
||||||
if (itr != pending_account_hash_.end()) {
|
if (itr != pending_account_hash_.end()) {
|
||||||
|
f8::UdpLog::Instance()->Info("RemovePendingAccount %d", {socket_handle});
|
||||||
if (!itr->second->timer_wp.expired()) {
|
if (!itr->second->timer_wp.expired()) {
|
||||||
f8::Timer::Instance()->Delete(itr->second->timer_wp);
|
f8::Timer::Instance()->Delete(itr->second->timer_wp);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user