From b24c4c73e72bdaf123512f302dc8b88b3ad0bdbe Mon Sep 17 00:00:00 2001 From: azw Date: Mon, 24 Apr 2023 10:59:58 +0000 Subject: [PATCH] 1 --- server/wsproxy/downstreammgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/wsproxy/downstreammgr.cc b/server/wsproxy/downstreammgr.cc index a3ab904..531acc7 100644 --- a/server/wsproxy/downstreammgr.cc +++ b/server/wsproxy/downstreammgr.cc @@ -143,9 +143,9 @@ std::shared_ptr DownStreamMgr::GetPendingAccount(int socket_hand void DownStreamMgr::RemovePendingAccount(int socket_handle) { - f8::UdpLog::Instance()->Info("RemovePendingAccount %d", {socket_handle}); auto itr = pending_account_hash_.find(socket_handle); if (itr != pending_account_hash_.end()) { + f8::UdpLog::Instance()->Info("RemovePendingAccount %d", {socket_handle}); if (!itr->second->timer_wp.expired()) { f8::Timer::Instance()->Delete(itr->second->timer_wp); }