From 0bd787b86f891f2c363e2a9e9475cfc624954293 Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Thu, 11 Apr 2024 21:44:44 -0300 Subject: fixt Prevent engine to break during initialization --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 945928d..f99e8ca 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -47,6 +47,7 @@ int main(int argc, char *argv[]) if (cg_core.mrb->exc) { mrb_print_error(cg_core.mrb); + mrb_close(cg_core.mrb); cg_sCore::loader.revert(nullptr); return 1; } -- cgit v1.2.3