mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] ExitEvent fix
This commit is contained in:
parent
28b31d20f9
commit
ec5c076a16
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
import pro.gravit.launcher.*;
|
||||
import pro.gravit.launcher.api.AuthService;
|
||||
import pro.gravit.launcher.api.ClientService;
|
||||
import pro.gravit.launcher.api.SystemService;
|
||||
import pro.gravit.launcher.client.events.ClientLaunchPhase;
|
||||
import pro.gravit.launcher.client.events.ClientLauncherInitPhase;
|
||||
import pro.gravit.launcher.client.events.ClientLauncherPostInitPhase;
|
||||
|
@ -300,7 +301,7 @@ private static void launch(ClientProfile profile, Params params) throws Throwabl
|
|||
try {
|
||||
mainMethod.invokeWithArguments((Object) args.toArray(new String[0]));
|
||||
} finally {
|
||||
Request.service.close();
|
||||
SystemService.exit(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue