mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Fixed user is unable to play after logout
Right now refCount value is set to 1, and inside handler.setClient its being incremented to 2. Because of that refCount check never goes to 0, and so current session is never stored ( as only single handler has this client, and not two ).
This commit is contained in:
parent
d1bc03664b
commit
af2155c4bf
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public void execute(ChannelHandlerContext ctx, Client client) {
|
|||
sendError("Exit internal error");
|
||||
return;
|
||||
}
|
||||
Client newClient = new Client(null);
|
||||
Client newClient = new Client(null, 0);
|
||||
newClient.checkSign = client.checkSign;
|
||||
handler.setClient(newClient);
|
||||
AuthSupportExit supportExit = client.auth.core.isSupport(AuthSupportExit.class);
|
||||
|
|
Loading…
Reference in a new issue