mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +00: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->lexical_environment);
|
||||||
roots.set(execution_context->variable_environment);
|
roots.set(execution_context->variable_environment);
|
||||||
|
roots.set(execution_context->private_environment);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue