mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
Removed session destroying on ClientDisconnectedException.
This commit is contained in:
parent
61229202f6
commit
03f1ce92b1
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ public class Main {
|
||||||
else
|
else
|
||||||
sessionName = session.getHost();
|
sessionName = session.getHost();
|
||||||
if (throwable instanceof ClientDisconnectedException) {
|
if (throwable instanceof ClientDisconnectedException) {
|
||||||
SessionManager.getInstance().disconnect(client.getSessionId(), true);
|
SessionManager.getInstance().disconnect(client.getSessionId(), false);
|
||||||
logger.info("client disconnected - " + sessionName);
|
logger.info("client disconnected - " + sessionName);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue