1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 17:34:59 +00:00

LibJS: ArrayIterator needs to mark the array it's iterating

This commit is contained in:
Andreas Kling 2020-09-08 16:20:13 +02:00
parent 3143fea1eb
commit d467a0ffef
2 changed files with 7 additions and 0 deletions

View file

@ -45,4 +45,10 @@ ArrayIterator::~ArrayIterator()
{
}
void ArrayIterator::visit_children(Cell::Visitor & visitor)
{
Base::visit_children(visitor);
visitor.visit(m_array);
}
}