mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-04 14:07:52 +00:00
added System.exit so that vm instances gets nuked in webstart
This commit is contained in:
parent
4ad9b565d5
commit
4a85362ccb
38 changed files with 62 additions and 22 deletions
|
|
@ -78,6 +78,8 @@ public class Game {
|
|||
} finally {
|
||||
cleanup();
|
||||
}
|
||||
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -576,8 +576,9 @@ public class Game {
|
|||
* @param argv The arguments that are passed into our game
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.out.println("Use -fullscreen for fullscreen mode");
|
||||
System.out.println("Use -fullscreen for fullscreen mode");
|
||||
new Game((argv.length > 0 && argv[0].equalsIgnoreCase("-fullscreen"))).execute();
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue