Commit 5d4328ee authored by jochen's avatar jochen Committed by Commit bot

Wipe out isolate_ pointer after disposing it.

This is to rule out the (unlikely) case that we're sending idle
notifications to a disposed isolate

BUG=425035
R=dcarney@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#315041}
parent 4052189d
...@@ -254,6 +254,7 @@ IsolateHolder::~IsolateHolder() { ...@@ -254,6 +254,7 @@ IsolateHolder::~IsolateHolder() {
#endif #endif
isolate_data_.reset(); isolate_data_.reset();
isolate_->Dispose(); isolate_->Dispose();
isolate_ = NULL;
} }
// static // static
......
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