forked from External/mage
This commit is contained in:
parent
676d335781
commit
0b9f8ff7a8
1 changed files with 2 additions and 1 deletions
|
|
@ -368,9 +368,10 @@ public final class Main {
|
|||
if (throwable instanceof ClientDisconnectedException) {
|
||||
// client called a disconnect command (full disconnect without tables keep)
|
||||
// no need to keep session
|
||||
// the above i think is a lie
|
||||
logger.info("CLIENT DISCONNECTED - " + sessionInfo);
|
||||
logger.debug("- cause: client called disconnect command");
|
||||
managerFactory.sessionManager().disconnect(client.getSessionId(), DisconnectReason.DisconnectedByUser, true);
|
||||
managerFactory.sessionManager().disconnect(client.getSessionId(), DisconnectReason.LostConnection, true);
|
||||
} else if (throwable == null) {
|
||||
// lease timeout (ping), so server lost connection with a client
|
||||
// must keep tables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue