diff options
Diffstat (limited to 'runtime/gc/heap.cc')
-rw-r--r-- | runtime/gc/heap.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc index 45bd87b87c..f4a3aeaabc 100644 --- a/runtime/gc/heap.cc +++ b/runtime/gc/heap.cc @@ -1246,9 +1246,6 @@ Heap::~Heap() { << " total=" << seen_backtrace_count_.LoadRelaxed() + unique_backtrace_count_.LoadRelaxed(); } - // Delete any still registered allocation listener. - AllocationListener* l = GetAndOverwriteAllocationListener(&alloc_listener_, nullptr); - delete l; VLOG(heap) << "Finished ~Heap()"; } |