fix: not stop waiting for game when terminated

This commit is contained in:
huanghongxun
2020-02-22 23:12:45 +08:00
parent 506786e932
commit 4aac45f3b4

View File

@@ -554,14 +554,14 @@ public final class LauncherHelper {
@Override
public void onExit(int exitCode, ExitType exitType) {
launchingLatch.countDown();
if (exitType == ExitType.INTERRUPTED)
return;
// Game crashed before opening the game window.
if (!lwjgl) finishLaunch();
launchingLatch.countDown();
if (exitType != ExitType.NORMAL) {
repository.markVersionLaunchedAbnormally(version);
}