Commit eb8a4238 authored by mlippautz's avatar mlippautz Committed by Commit bot

Wait for cancelable task after tearing down the heap.

BUG=

Review URL: https://codereview.chromium.org/1462573002

Cr-Commit-Position: refs/heads/master@{#32093}
parent db867c2b
......@@ -1921,11 +1921,11 @@ void Isolate::Deinit() {
delete basic_block_profiler_;
basic_block_profiler_ = NULL;
cancelable_task_manager()->CancelAndWait();
heap_.TearDown();
logger_->TearDown();
cancelable_task_manager()->CancelAndWait();
delete heap_profiler_;
heap_profiler_ = NULL;
delete cpu_profiler_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment