remove exit code from errorhandler
This commit is contained in:
parent
a647ea206d
commit
7fee3aa005
|
@ -44,7 +44,8 @@ public class OpsuDance {
|
||||||
try {
|
try {
|
||||||
container.setup();
|
container.setup();
|
||||||
} catch (LWJGLException e) {
|
} 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;
|
Exception caughtException = null;
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -229,9 +229,4 @@ public class ErrorHandler {
|
||||||
return ignoreAndContinue;
|
return ignoreAndContinue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showAndExit() {
|
|
||||||
show();
|
|
||||||
System.exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user