mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Treat active Platform::Timer objects as event-loop roots so their GC callbacks stay marked while the underlying Core::Timer can still fire. Finalize unreachable timers by stopping the Core timer and dropping the callback, preventing incremental sweep from leaving a timer with a raw pointer to a swept GC::Function.
2.2 KiB
2.2 KiB