Prevent GC during each_object; fix #3616

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-04-25 17:25:48 +09:00
parent 88cd807379
commit aa8e490fd5
2 changed files with 30 additions and 3 deletions
+1
View File
@@ -64,6 +64,7 @@ typedef struct mrb_gc {
size_t threshold;
int interval_ratio;
int step_ratio;
mrb_bool iterating :1;
mrb_bool disabled :1;
mrb_bool full :1;
mrb_bool generational :1;