Skip to content

Commit

Permalink
resolve mruby#2525
Browse files Browse the repository at this point in the history
  • Loading branch information
dycoon committed Aug 14, 2014
1 parent 6c1dfc9 commit 83ab9a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ closure_setup(mrb_state *mrb, struct RProc *p, int nlocals)
else {
e = mrb->c->ci->env;
}
mrb_write_barrier(mrb, (struct RBasic*)e);
p->env = e;
}

Expand Down

0 comments on commit 83ab9a5

Please sign in to comment.