Closed
Description
Describe the bug
When using transitions something isn't cleaned up properly resulting in detached nodes memory leak.

This was already fixed once in #12719, so seems to be a regression due to some changes. I am wondering if it's even possible to have a test or something for it to prevent future regressions.
Reproduction
- Take snapshot
- Click button multiple times
- Take snapshot again
- Repeat and observe h1 leaking
Logs
System Info
Chrome 132.0.6834.160 (Official Build) (arm64)
Svelte 5.19.7
Severity
annoyance