From 6af348606b38db3f77397769a7d3bf692c6a3a3c Mon Sep 17 00:00:00 2001 From: Gravit Date: Sun, 1 Mar 2020 14:01:57 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A0=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20Exit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gravit/launchserver/socket/response/auth/ExitResponse.java | 1 + 1 file changed, 1 insertion(+) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java index 6f66e93d..07af9fff 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java @@ -39,6 +39,7 @@ public void execute(ChannelHandlerContext ctx, Client client) throws Exception { newClient.isSecure = client.isSecure; newClient.checkSign = client.checkSign; handler.setClient(newClient); + if(client.session != 0) server.sessionManager.removeClient(client.session); if(exitAll) { service.channels.forEach((channel) -> {