Files
ladybird/Libraries/LibWeb/HTML/TraversableNavigable.cpp
Andreas Kling 0145e425db LibWeb: Skip destroyed navigables in apply_the_history_step
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.
2026-02-10 21:19:35 +01:00

78 KiB