You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JsonServer.closeSession(UUID session) will actively calling the method of closing the connection when closing connection. Can you add a closeSession() method that does not actively call the close connection function?
@OverridepublicvoidhandleConnectionClosed() {
Optional<UUID> sessionIdOptional = getSessionID(session);
if (sessionIdOptional.isPresent()) {
serverEvents.lostSession(sessionIdOptional.get());
sessions.remove(sessionIdOptional.get());
} else {
logger.warn("Active session not found");
}
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
JsonServer.closeSession(UUID session) will actively calling the method of closing the connection when closing connection. Can you add a closeSession() method that does not actively call the close connection function?
Beta Was this translation helpful? Give feedback.
All reactions