ladybird/Libraries/LibWeb/HTML/EventLoop
Andreas Kling 187f8c5460 LibWeb: Run queued HTML tasks after associated document is destroyed
Before this change, tasks associated with a destroyed document would get
stuck in the task queue forever, since document-associated tasks are not
allowed to run when their document isn't fully active (and destroyed
documents never become fully active again). This caused everything
captured by task callbacks to leak.

We now treat tasks for destroyed documents as runnable immediately,
which gets them out of the queue.

This fixes another massive GC leak on Speedometer.
2025-02-07 16:53:11 +01:00
..
EventLoop.cpp Meta: Disallow links to single-page HTML spec 2025-02-05 16:04:50 -07:00
EventLoop.h Meta: Disallow links to single-page HTML spec 2025-02-05 16:04:50 -07:00
Task.cpp LibWeb: Run queued HTML tasks after associated document is destroyed 2025-02-07 16:53:11 +01:00
Task.h LibWeb: Add WebSocket task source 2024-11-15 23:18:10 +01:00
TaskQueue.cpp LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
TaskQueue.h LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00