mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
a6b55e741e
young objects stored in old Set instances were being freed during GC because write barriers were missing. added mrb_field_write_barrier_value() calls after all kset_put() operations. introduced kset_to_rset() macro using container-of pattern to obtain RSet pointer from embedded kset_t without adding function parameters. Co-authored-by: Claude <noreply@anthropic.com>