Mark global variables in `final_marking_phase`; fix
MODIFY
src/gc.c
src/gc.c
@@ -995,6 +995,7 @@ incremental_marking_phase(mrb_state *mrb, mrb_gc *gc, size_t limit)
static void
final_marking_phase(mrb_state *mrb, mrb_gc *gc)
{
+ mrb_gc_mark_gv(mrb);
mark_context(mrb, mrb->c);
mrb_gc_mark(mrb, (struct RBasic*)mrb->exc);
gc_mark_gray_list(mrb, gc);

Mark global variables in `final_marking_phase`; fix #3704