diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |