diff --git a/Libraries/LibJS/Heap/Heap.cpp b/Libraries/LibJS/Heap/Heap.cpp index a5e735d13f1..8055311184e 100644 --- a/Libraries/LibJS/Heap/Heap.cpp +++ b/Libraries/LibJS/Heap/Heap.cpp @@ -43,8 +43,6 @@ Heap::Heap(VM& vm) Heap::~Heap() { - vm().string_cache().clear(); - vm().byte_string_cache().clear(); collect_garbage(CollectionType::CollectEverything); }