diff options
| -rw-r--r-- | class.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1017,6 +1017,7 @@ copy_tables(VALUE clone, VALUE orig) arg.klass = clone; rb_id_table_foreach(orig_tbl, clone_const_i, &arg); RCLASS_WRITE_CONST_TBL(clone, const_tbl, false); + rb_gc_writebarrier_remember(clone); } } |
