mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 08:33:28 +02:00
When queuing tasks for changing navigables in step 12 of apply_the_history_step, skip navigables that have been destroyed and increment completed_change_jobs directly. This is necessary because Document::destroy() removes tasks associated with its document from the task queue, so a task queued for a destroyed navigable's window may never run, causing the subsequent spin_until to wait forever.
78 KiB
78 KiB