mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Mark whole root objects in final_marking_phase(); fix #3603
ref #1359 #1362
This commit is contained in:
@@ -996,7 +996,7 @@ incremental_marking_phase(mrb_state *mrb, mrb_gc *gc, size_t limit)
|
||||
static void
|
||||
final_marking_phase(mrb_state *mrb, mrb_gc *gc)
|
||||
{
|
||||
mark_context_stack(mrb, mrb->root_c);
|
||||
mark_context(mrb, mrb->root_c);
|
||||
gc_mark_gray_list(mrb, gc);
|
||||
mrb_assert(gc->gray_list == NULL);
|
||||
gc->gray_list = gc->atomic_gray_list;
|
||||
|
||||
Reference in New Issue
Block a user