mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-09 19:27:52 +08:00
A frozen record's rc word carries SCR_RC_FROZEN beside its count. The shared shape-union release compared the whole word, so the last reference to a frozen record took the shared-reference branch: it decremented the count and never freed the record or its fields. When an arm is freezable, the release now compares the count without the frozen bit, as the record's own release does.