Severity: low · Category: implementation bug
Evidence. __submitRoots only grows; shadow roots removed by morphs stay referenced (listener + memory retention).
Fix. In __scanSubmitRoots, first prune entries whose root is no longer connected (!root.isConnected for ShadowRoot; keep document).
Filed from the 0.42 round-2 review (docs/audit/2026-07-28-alpha5-round2-review.md). Target line: 0.42.0-alpha.6.
Severity: low · Category: implementation bug
Evidence.
__submitRootsonly grows; shadow roots removed by morphs stay referenced (listener + memory retention).Fix. In
__scanSubmitRoots, first prune entries whose root is no longer connected (!root.isConnectedfor ShadowRoot; keep document).Filed from the 0.42 round-2 review (docs/audit/2026-07-28-alpha5-round2-review.md). Target line: 0.42.0-alpha.6.