Handle disconnect solely in TransitionService

This commit is contained in:
P0nk
2024-09-13 22:59:55 +02:00
parent 719b079cbc
commit f41268cdde
14 changed files with 85 additions and 275 deletions

View File

@@ -1923,7 +1923,7 @@ public class Server {
for (Client c : toDisconnect) { // thanks Lei for pointing a deadlock issue with srvLock
if (c.isLoggedIn()) {
channelDependencies.transitionService().disconnect(c, false, false);
channelDependencies.transitionService().disconnect(c, false);
} else {
SessionCoordinator.getInstance().closeSession(c, true);
}