From b4e8c4618fcb889452547802e56179974349f83d Mon Sep 17 00:00:00 2001 From: Blank Date: Wed, 21 Aug 2024 17:35:19 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]1.=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E8=B0=83=E7=94=A8=E5=86=99=E9=94=99=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GameFrameX.Launcher/Common/Session/SessionManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameFrameX.Launcher/Common/Session/SessionManager.cs b/GameFrameX.Launcher/Common/Session/SessionManager.cs index f776f28..ed390d1 100644 --- a/GameFrameX.Launcher/Common/Session/SessionManager.cs +++ b/GameFrameX.Launcher/Common/Session/SessionManager.cs @@ -53,7 +53,7 @@ public static void KickOffLineByUserId(long roleId) /// 链接ID public static Session Get(string sessionId) { - SessionMap.TryRemove(sessionId, out var value); + SessionMap.TryGetValue(sessionId, out var value); return value; }