LibJS: Make sure private environments are marked during GC

This commit is contained in:
Andreas Kling 2021-12-08 09:57:55 +01:00
parent 212319b25e
commit 4790f9a628

View file

@ -110,6 +110,7 @@ void VM::gather_roots(HashTable<Cell*>& roots)
}
roots.set(execution_context->lexical_environment);
roots.set(execution_context->variable_environment);
roots.set(execution_context->private_environment);
}
};