mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-11 20:11:00 +00:00
Various fixes
This commit is contained in:
@@ -67,7 +67,12 @@ public interface ShellControl extends ProcessControl {
|
||||
}
|
||||
|
||||
default <T extends ShellStoreState> ShellControl withShellStateFail(StatefulDataStore<T> store) {
|
||||
return onStartupFail(shellControl -> {
|
||||
return onStartupFail(t -> {
|
||||
// Ugly
|
||||
if (t.getClass().getSimpleName().equals("LicenseRequiredException")) {
|
||||
return;
|
||||
}
|
||||
|
||||
var s = store.getState();
|
||||
s.setRunning(false);
|
||||
store.setState(s);
|
||||
|
||||
Reference in New Issue
Block a user