mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-18 07:16:31 +00:00
Shell exit fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user