1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

LibJS+LibWeb: Add missing visit calls in visit_edges implementations

This commit is contained in:
Matthew Olsson 2023-03-21 10:08:44 -07:00 committed by Andreas Kling
parent a3344cab63
commit 39d8c8d2a9
8 changed files with 49 additions and 25 deletions

View file

@ -25,7 +25,8 @@ void CyclicModule::visit_edges(Cell::Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_cycle_root);
for (auto module : m_async_parent_modules)
visitor.visit(m_top_level_capability);
for (auto const& module : m_async_parent_modules)
visitor.visit(module);
}