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