From aacd2fdc5fb82bbe7b4cf5eff061ee848821e30f Mon Sep 17 00:00:00 2001 From: azw Date: Mon, 24 Apr 2023 08:20:28 +0000 Subject: [PATCH] 1 --- server/wsproxy/longsessionmgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/wsproxy/longsessionmgr.cc b/server/wsproxy/longsessionmgr.cc index 4600840..7ebb49a 100644 --- a/server/wsproxy/longsessionmgr.cc +++ b/server/wsproxy/longsessionmgr.cc @@ -96,7 +96,7 @@ void LongSessionMgr::DelSession(int socket_handle) { { auto session = GetSession(socket_handle); - if (session && session.use_count() != 1) { + if (session && session.use_count() != 2) { #ifdef DEBUG abort(); #endif