| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 290fcba97aa188a1fe1affb11ca1a4d3e86f62a7..45480baaf01e769567d4113b99284013f26cda59 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -7206,10 +7206,6 @@ void CpuProfile::Delete() {
|
| i::CpuProfiler* profiler = isolate->cpu_profiler();
|
| ASSERT(profiler != NULL);
|
| profiler->DeleteProfile(reinterpret_cast<i::CpuProfile*>(this));
|
| - if (profiler->GetProfilesCount() == 0) {
|
| - // If this was the last profile, clean up all accessory data as well.
|
| - profiler->DeleteAllProfiles();
|
| - }
|
| }
|
|
|
|
|
|
|