Permalink
Browse files

Revert 6dd1a57; fix #3612; ref #3550

The fix was wrong. It causes a new problem #3612.
  • Loading branch information...
matz committed Apr 18, 2017
1 parent a0143e1 commit e8dca6b0346ad087adda19a8656679bbdb23e6e7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gc.c
View
@@ -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;
len = MRB_ENV_STACK_LEN(e);
for (i=0; i<len; i++) {
mrb_gc_mark_value(mrb, e->stack[i]);

0 comments on commit e8dca6b

Please sign in to comment.