Shell exit fixes

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

View file

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