mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
followup
This commit is contained in:
parent
ed69a86529
commit
85166635b4
1 changed files with 10 additions and 1 deletions
|
@ -99,8 +99,17 @@ public class SparrowWallet {
|
||||||
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowDesktop.class, SparrowWalletPreloader.class, argv);
|
com.sun.javafx.application.LauncherImpl.launchApplication(SparrowDesktop.class, SparrowWalletPreloader.class, argv);
|
||||||
}
|
}
|
||||||
} catch(UnsupportedOperationException e) {
|
} catch(UnsupportedOperationException e) {
|
||||||
|
Drongo.removeRootLogAppender("STDOUT");
|
||||||
getLogger().error("Unable to launch application", e);
|
getLogger().error("Unable to launch application", e);
|
||||||
System.out.println("Use Sparrow Server on a headless (no display) system");
|
System.out.println("No display detected. Use Sparrow Server on a headless (no display) system.");
|
||||||
|
|
||||||
|
try {
|
||||||
|
if(instance != null) {
|
||||||
|
instance.freeLock();
|
||||||
|
}
|
||||||
|
} catch(InstanceException instanceException) {
|
||||||
|
getLogger().error("Unable to free instance lock", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue