Permalink
Browse files

Mark global variables in `final_marking_phase`; fix #3704

  • Loading branch information...
matz committed Jun 16, 2017
1 parent a985847 commit 8daabe7115a3d32bc65aeaceb7e503e2640ccc77
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gc.c
View
@@ -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);

0 comments on commit 8daabe7

Please sign in to comment.