mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-01 22:14:01 +03:00
LaunchServer stopped entry fixed.
This commit is contained in:
parent
eca11301b3
commit
9f09eb405d
1 changed files with 3 additions and 4 deletions
|
@ -258,7 +258,8 @@ private PostBuildTransformConf(BlockConfigEntry block, Path coredir) {
|
|||
}
|
||||
}
|
||||
|
||||
public static void main(String... args) throws Throwable {
|
||||
@SuppressWarnings("resource")
|
||||
public static void main(String... args) throws Throwable {
|
||||
JVMHelper.checkStackTrace(LaunchServer.class);
|
||||
JVMHelper.verifySystemProperties(LaunchServer.class, true);
|
||||
LogHelper.addOutput(IOHelper.WORKING_DIR.resolve("LaunchServer.log"));
|
||||
|
@ -268,9 +269,7 @@ public static void main(String... args) throws Throwable {
|
|||
// Start LaunchServer
|
||||
Instant start = Instant.now();
|
||||
try {
|
||||
try (LaunchServer lsrv = new LaunchServer(IOHelper.WORKING_DIR)) {
|
||||
lsrv.run();
|
||||
}
|
||||
new LaunchServer(IOHelper.WORKING_DIR).run();
|
||||
} catch (Throwable exc) {
|
||||
LogHelper.error(exc);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue