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

Unified Diff: src/d8.cc

Issue 7717022: Fixed minor bug in D8 related to mapping counters to a file. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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 780b0c0716e5d8b0dd4fc86197dc84fa0810d0ba..bba2feabf05013446288a2037756f01ea801b6f3 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1237,8 +1237,6 @@ int Shell::RunMain(int argc, char* argv[]) {
thread->Join();
delete thread;
}
-
- OnExit();
#endif // V8_SHARED
return 0;
}
@@ -1289,6 +1287,7 @@ int Shell::Main(int argc, char* argv[]) {
}
V8::Dispose();
+ OnExit();
Yang 2011/08/24 09:44:02 Delete the pointer to the counters file only after
return result;
}
« 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