From b1ccfe3019a4302a8859ec76896cc0578908140d Mon Sep 17 00:00:00 2001 From: yugecin Date: Wed, 18 Jan 2017 16:43:35 +0100 Subject: [PATCH] fix skipping close functions on startup exception --- src/yugecin/opsudance/OpsuDance.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yugecin/opsudance/OpsuDance.java b/src/yugecin/opsudance/OpsuDance.java index f8c72dfb..42fa75de 100644 --- a/src/yugecin/opsudance/OpsuDance.java +++ b/src/yugecin/opsudance/OpsuDance.java @@ -79,7 +79,8 @@ public class OpsuDance { try { container.setup(); } catch (Exception e) { - errorAndExit("could not initialize GL", e); + ErrorHandler.error("could not initialize GL", e).preventContinue().show(); + return false; } Exception caughtException = null; try {