mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Delayed preload and image animation callbacks can outlive the objects they notify. Incremental sweeping makes this easier to hit because stale callback state may be reclaimed before the delayed work runs. Use a weak link element when firing preload load and error events, and use a weak image style value from animated image timers instead of a raw pointer.
48 KiB
48 KiB