Skip to content


Revert 6dd1a57; fix #3612; ref #3550
Browse files Browse the repository at this point in the history
The fix was wrong. It causes a new problem #3612.
  • Loading branch information
matz committed Apr 18, 2017
1 parent a0143e1 commit e8dca6b
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 @@ -646,6 +646,7 @@ gc_mark_children(mrb_state *mrb, mrb_gc *gc, struct RBasic *obj)
struct REnv *e = (struct REnv*)obj;
mrb_int i, len;

if (MRB_ENV_STACK_SHARED_P(e)) break;
for (i=0; i<len; i++) {
mrb_gc_mark_value(mrb, e->stack[i]);
Expand Down

0 comments on commit e8dca6b

Please sign in to comment.