Commit c2f427c5 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

mark ci->proc as well

parent 1e5d15db
......@@ -500,6 +500,7 @@ root_scan_phase(mrb_state *mrb)
for (ci = mrb->cibase; ci <= mrb->ci; ci++) {
if (!ci) continue;
mrb_gc_mark( mrb, (struct RBasic*)ci->env);
mrb_gc_mark( mrb, (struct RBasic*)ci->proc);
}
/* mark irep pool */
for (i=0; i<mrb->irep_len; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment