Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: src/d8.cc

Issue 1857263002: [d8] reset global handle on exit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix shared library build Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index c23c1a4a9c722f0839fd4ca4976c41e90b10cda0..06883803f90091503fd133499ef3608f048ae8aa 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698