LibJS: Add missing visit for CyclicModule::m_evaluation_error

This commit is contained in:
Andreas Kling 2025-04-05 15:36:17 +02:00 committed by Andreas Kling
parent 852e8ff12f
commit c5a239b8c4
Notes: github-actions[bot] 2025-04-05 19:35:13 +00:00

View file

@ -34,6 +34,8 @@ void CyclicModule::visit_edges(Cell::Visitor& visitor)
visitor.visit(m_async_parent_modules);
for (auto const& loaded_module : m_loaded_modules)
visitor.visit(loaded_module.module);
if (m_evaluation_error.is_error())
visitor.visit(m_evaluation_error.error_value());
}
void GraphLoadingState::visit_edges(Cell::Visitor& visitor)