Commit 7936f405 authored by yangguo's avatar yangguo Committed by Commit bot

[d8] reset global handle on exit.

R=neis@chromium.org
BUG=v8:4887
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#35270}
parent 823224f3
......@@ -2478,6 +2478,9 @@ int Shell::Main(int argc, char* argv[]) {
// Shut down contexts and collect garbage.
evaluation_context_.Reset();
#ifndef V8_SHARED
stringify_function_.Reset();
#endif // !V8_SHARED
CollectGarbage(isolate);
}
OnExit(isolate);
......
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