Files
ladybird/Libraries/LibWeb/Platform/Timer.cpp
Andreas Kling d51d849943 LibWeb: Keep active platform timers alive during GC
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.
2026-05-10 10:58:11 +02:00

2.2 KiB