mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 15:10:23 +00:00
Shell exit fixes
This commit is contained in:
parent
f748755fc9
commit
2d356e6f8a
1 changed files with 6 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue