Fixed issue where ViaProxy wouldn't shut down properly on CLI

This commit is contained in:
RaphiMC 2023-01-04 22:47:29 +01:00
parent 32a8c22b23
commit a229d77208

View File

@ -72,7 +72,7 @@ public class ViaProxy {
Options.parse(args); Options.parse(args);
} catch (Throwable t) { } catch (Throwable t) {
Logger.LOGGER.fatal("[" + t.getClass().getSimpleName() + "] " + t.getMessage()); Logger.LOGGER.fatal("[" + t.getClass().getSimpleName() + "] " + t.getMessage());
return; System.exit(0);
} }
loaderThread.start(); loaderThread.start();