mirror of https://github.com/sveltejs/svelte
fix: release last_propagated_event after event propagation settles (#18569)
Fixes #18568 `last_propagated_event` was added in #16527 to stop Firefox from garbage collecting the event wrapper mid-propagation. The problem with this is that the even is now retained until the next event, which could be a while. This removes it after a macrotask. Co-authored-by: rmurphy <rmurphy@fortressinfosec.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>pull/18537/merge
parent
f159e14de7
commit
ffc0e6e7ef
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: release `last_propagated_event` after event propagation settles so it no longer retains the last event's target subtree
|
||||
Loading…
Reference in new issue