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();
setSessionEnabled(false);
if (ex != null) {
ex.stop();
setCache("session", null);
onStateChange(false);
try {
ex.stop();
} finally {
setCache("session", null);
onStateChange(false);
}
}
}
}