Permalink
Browse files

Stop invoking GC before `each_object` to avoid test failure; #3616

  • Loading branch information...
matz committed Apr 25, 2017
1 parent aa8e490 commit b08dced2a63b24c215aba913d3a1a2f4d62f6e8d
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/gc.c
View
@@ -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);

0 comments on commit b08dced

Please sign in to comment.