Suppress InterruptedException
This commit is contained in:
@@ -388,10 +388,13 @@ public final class LauncherHelper {
|
|||||||
logs.removeFirst();
|
logs.removeFirst();
|
||||||
|
|
||||||
if (setting.isShowLogs()) {
|
if (setting.isShowLogs()) {
|
||||||
Lang.invoke(() -> {
|
try {
|
||||||
latch.await();
|
latch.await();
|
||||||
logWindow.waitForLoaded();
|
logWindow.waitForLoaded();
|
||||||
});
|
} catch (InterruptedException e) {
|
||||||
|
Thread.currentThread().interrupt();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Platform.runLater(() -> logWindow.logLine(log, level));
|
Platform.runLater(() -> logWindow.logLine(log, level));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user