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

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-04-25 17:39:06 +09:00
parent aa8e490fd5
commit b08dced2a6
-1
View File
@@ -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);