Commit d8a8382
[BUGFIX beta] Destroy dynamic modifiers that were set after the initial render
Register the UpdateDynamicModifierOpcode as a destroyable child of its
block. Instances that the opcode creates on update are attached to the
opcode with associateDestroyableChild, so the block now reaches them
when it is destroyed.
Fixes the leak reported in universal-ember/ember-primitives#805.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fvnp457DHuZC4fBa2KCiqB1 parent 14f95ce commit d8a8382
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
300 | 305 | | |
301 | 306 | | |
302 | 307 | | |
| |||
0 commit comments