remove exit code from errorhandler
This commit is contained in:
parent
a647ea206d
commit
7fee3aa005
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user