remove exit code from errorhandler
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -229,9 +229,4 @@ public class ErrorHandler {
|
||||
return ignoreAndContinue;
|
||||
}
|
||||
|
||||
public void showAndExit() {
|
||||
show();
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user