Commit 1afbe92a authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fixed minor bug in D8 related to mapping counters to a file.

Review URL: http://codereview.chromium.org/7717022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9005 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2d538fe6
...@@ -1237,8 +1237,6 @@ int Shell::RunMain(int argc, char* argv[]) { ...@@ -1237,8 +1237,6 @@ int Shell::RunMain(int argc, char* argv[]) {
thread->Join(); thread->Join();
delete thread; delete thread;
} }
OnExit();
#endif // V8_SHARED #endif // V8_SHARED
return 0; return 0;
} }
...@@ -1289,6 +1287,7 @@ int Shell::Main(int argc, char* argv[]) { ...@@ -1289,6 +1287,7 @@ int Shell::Main(int argc, char* argv[]) {
} }
V8::Dispose(); V8::Dispose();
OnExit();
return result; return result;
} }
......
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