mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibJS: Make sure private environments are marked during GC
This commit is contained in:
parent
212319b25e
commit
4790f9a628
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue