mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Shell exit fixes
This commit is contained in:
parent
f748755fc9
commit
2d356e6f8a
1 changed files with 6 additions and 3 deletions
|
@ -69,10 +69,13 @@ public interface SingletonSessionStore<T extends Session>
|
||||||
var ex = getSession();
|
var ex = getSession();
|
||||||
setSessionEnabled(false);
|
setSessionEnabled(false);
|
||||||
if (ex != null) {
|
if (ex != null) {
|
||||||
|
try {
|
||||||
ex.stop();
|
ex.stop();
|
||||||
|
} finally {
|
||||||
setCache("session", null);
|
setCache("session", null);
|
||||||
onStateChange(false);
|
onStateChange(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue