This commit is contained in:
azw 2023-04-25 08:54:58 +00:00
parent 6b36492bb1
commit a4e1fbd27e

View File

@ -83,7 +83,7 @@ void LongSessionMgr::_SS_CMKcpHandshake(f8::MsgHdr& hdr, const ss::SS_CMKcpHands
[this, socket_handle] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {
if (!DownStreamMgr::Instance()->GetDownStream(socket_handle).expired()) {
if (DownStreamMgr::Instance()->GetDownStream(socket_handle).expired()) {
GCListener::Instance()->ForceCloseClient(socket_handle);
}
}