LibJS: Visit m_async_from_sync_iterator_prototype in GlobalObject

This prevents random crashes in for async loops due to GC.
This commit is contained in:
Idan Horowitz 2022-01-30 00:33:15 +02:00 committed by Linus Groh
parent 3b2ec01038
commit fe687412a6
Notes: sideshowbarker 2024-07-17 20:00:39 +09:00

View file

@ -319,6 +319,7 @@ void GlobalObject::visit_edges(Visitor& visitor)
visitor.visit(m_new_ordinary_function_prototype_object_shape);
visitor.visit(m_proxy_constructor);
visitor.visit(m_generator_prototype);
visitor.visit(m_async_from_sync_iterator_prototype);
visitor.visit(m_array_prototype_values_function);
visitor.visit(m_date_constructor_now_function);
visitor.visit(m_eval_function);