added System.exit so that vm instances gets nuked in webstart

This commit is contained in:
Brian Matzon 2005-05-22 12:12:10 +00:00
parent 4ad9b565d5
commit 4a85362ccb
38 changed files with 62 additions and 22 deletions

View file

@ -78,6 +78,8 @@ public class Game {
} finally {
cleanup();
}
System.exit(0);
}
/**

View file

@ -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);
}
/**