mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
should mark child env from method (proc) objects
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ mrb_gc_mark_mt(mrb_state *mrb, struct RClass *c)
|
||||
if (kh_exist(h, k)){
|
||||
struct RProc *m = kh_value(h, k);
|
||||
if (m) {
|
||||
paint_black(m);
|
||||
mrb_gc_mark(mrb, (struct RBasic*)m);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user