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