Permalink
Browse files

Hide OP_EXEC lambda body from `ObjectSpace#each_object`; fix #3680

  • Loading branch information...
matz committed Jun 1, 2017
1 parent 90fb4dd commit 72b635f7d23d8ce8c949b170d2975459a9f54250
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/vm.c
View
@@ -2609,6 +2609,7 @@ mrb_vm_exec(mrb_state *mrb, struct RProc *proc, mrb_code *pc)
/* prepare closure */
p = mrb_closure_new(mrb, irep->reps[GETARG_Bx(i)]);
p->c = NULL;
/* prepare stack */
ci = cipush(mrb);

0 comments on commit 72b635f

Please sign in to comment.