Shell exit fixes

This commit is contained in:
crschnick 2024-11-11 13:33:32 +00:00
parent f748755fc9
commit 2d356e6f8a

View file

@ -69,10 +69,13 @@ public interface SingletonSessionStore<T extends Session>
var ex = getSession(); var ex = getSession();
setSessionEnabled(false); setSessionEnabled(false);
if (ex != null) { if (ex != null) {
try {
ex.stop(); ex.stop();
} finally {
setCache("session", null); setCache("session", null);
onStateChange(false); onStateChange(false);
} }
} }
} }
} }
}