remove exit code from errorhandler

This commit is contained in:
yugecin 2017-01-12 11:31:58 +01:00
parent a647ea206d
commit 7fee3aa005
2 changed files with 2 additions and 6 deletions

View File

@ -44,7 +44,8 @@ public class OpsuDance {
try {
container.setup();
} catch (LWJGLException e) {
ErrorHandler.error("could not initialize GL", e, container).showAndExit();
ErrorHandler.error("could not initialize GL", e, container).preventContinue().show();
System.exit(1);
}
Exception caughtException = null;
try {

View File

@ -229,9 +229,4 @@ public class ErrorHandler {
return ignoreAndContinue;
}
public void showAndExit() {
show();
System.exit(1);
}
}