diff options
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/VM.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/VM.cpp b/Userland/Libraries/LibJS/Runtime/VM.cpp index e668e2b512..216ccd759a 100644 --- a/Userland/Libraries/LibJS/Runtime/VM.cpp +++ b/Userland/Libraries/LibJS/Runtime/VM.cpp @@ -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); } }; |