Skip to content

Commit

Permalink
Stop invoking GC before each_object to avoid test failure; #3616
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Apr 25, 2017
1 parent aa8e490 commit b08dced
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,6 @@ mrb_objspace_each_objects(mrb_state *mrb, mrb_each_object_callback *callback, vo
{
mrb_bool iterating = mrb->gc.iterating;

mrb_full_gc(mrb);
mrb->gc.iterating = TRUE;
if (iterating) {
gc_each_objects(mrb, &mrb->gc, callback, data);
Expand Down

0 comments on commit b08dced

Please sign in to comment.