Skip to content
Permalink
Browse files
Revert ae4217e; fix #3619
Reopens #3550. Those 2 issues are exclusive.
  • Loading branch information
matz committed Apr 21, 2017
1 parent 95229ee commit 15fba69710c7395b4e9523edb191ef84f672fa28
Showing 1 changed file with 1 addition and 1 deletion.
@@ -769,7 +769,7 @@ obj_free(mrb_state *mrb, struct RBasic *obj, int end)
while (ce <= ci) {
struct REnv *e = ci->env;
if (e && !is_dead(&mrb->gc, e) &&
e->tt == MRB_TT_ENV && !MRB_ENV_STACK_SHARED_P(e)) {
e->tt == MRB_TT_ENV && MRB_ENV_STACK_SHARED_P(e)) {
mrb_env_unshare(mrb, e);
}
ci--;

0 comments on commit 15fba69

Please sign in to comment.