mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20: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();
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue