Unverified Commit 0f5cf385 authored by Takeshi Watanabe's avatar Takeshi Watanabe Committed by GitHub

Close `mrb_state` before exit.

parent 94aebe31
......@@ -31,6 +31,7 @@ mrb_init_mrbtest(mrb_state *mrb)
if (mrb->exc) {
mrb_print_error(mrb);
mrb_close(mrb);
exit(EXIT_FAILURE);
}
mrb_close(core_test);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment