Skip to content

Commit

Permalink
Mark the exception object in the final marking phase; ref #3702
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Jun 15, 2017
1 parent 52443c8 commit 357e478
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,7 @@ static void
final_marking_phase(mrb_state *mrb, mrb_gc *gc)
{
mark_context(mrb, mrb->c);
mrb_gc_mark(mrb, (struct RBasic*)mrb->exc);
gc_mark_gray_list(mrb, gc);
mrb_assert(gc->gray_list == NULL);
gc->gray_list = gc->atomic_gray_list;
Expand Down

0 comments on commit 357e478

Please sign in to comment.