| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index a15b1cf345ee00f6740e7e412aee7a745359ffa1..cbde8ac562bd515f706e639f4f2710a068f94463 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -2227,13 +2227,14 @@ void Isolate::Deinit() {
|
| delete heap_profiler_;
|
| heap_profiler_ = NULL;
|
|
|
| + cancelable_task_manager()->CancelAndWait();
|
| +
|
| heap_.TearDown();
|
| logger_->TearDown();
|
|
|
| delete interpreter_;
|
| interpreter_ = NULL;
|
|
|
| - cancelable_task_manager()->CancelAndWait();
|
|
|
| delete compiler_dispatcher_tracer_;
|
| compiler_dispatcher_tracer_ = nullptr;
|
|
|