mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
c474ae8cc4
Make the `mrb_init_mrbgems()` function do the cleanup and error handling. Instead, simplify processing in the `GENERATED_TMP_mrb_XXX_gem_init()` function. Previously, `mrb_load_irep()` or `mrb_load_proc()` would kill the process when an exception occurred. With this patch, it is now caught by `mrb_core_init_protect()`.