mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
dea5c9e1dc
Only go to exception handling if `mrb->exc` is non-null. This may cause some compatibility problems, but I doubt that it is necessary to maintain that compatibility. Here is how I see the incompatibility with the change at this time: - If `mrb->exc` is non-null and `mrb_vm_exec()` is called, an exception will be thrown immediately. - If `MRB_THROW()` is used while `mrb->exc` is `NULL`, it will not go to exception handling.