mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mark pre-allocated exception
This commit is contained in:
@@ -705,6 +705,8 @@ root_scan_phase(mrb_state *mrb)
|
||||
mrb_gc_mark(mrb, (struct RBasic*)mrb->top_self);
|
||||
/* mark exception */
|
||||
mrb_gc_mark(mrb, (struct RBasic*)mrb->exc);
|
||||
/* mark pre-allocated exception */
|
||||
mrb_gc_mark(mrb, (struct RBasic*)mrb->nomem_err);
|
||||
|
||||
mark_context(mrb, mrb->root_c);
|
||||
if (mrb->root_c->fib) {
|
||||
|
||||
Reference in New Issue
Block a user