1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:48:11 +00:00

LibJS: Rename VM::string_cache to deprecated_string_cache

And rename the member variable from m_string_cache to
m_deprecated_string_cache to match.
This commit is contained in:
Timothy Flynn 2023-01-13 09:41:24 -05:00 committed by Linus Groh
parent 3a004e8f1a
commit ca655f5e7d
3 changed files with 6 additions and 6 deletions

View file

@ -57,7 +57,7 @@ Heap::Heap(VM& vm)
Heap::~Heap()
{
vm().string_cache().clear();
vm().deprecated_string_cache().clear();
collect_garbage(CollectionType::CollectEverything);
}