Fix teardown order.

As TokenEnumerator cleans up global handles posessed, it's owner --
CpuProfiler must be shut down prior to global handles.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4702 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d2c390b0
...@@ -149,10 +149,10 @@ void V8::TearDown() { ...@@ -149,10 +149,10 @@ void V8::TearDown() {
Top::TearDown(); Top::TearDown();
Heap::TearDown();
CpuProfiler::TearDown(); CpuProfiler::TearDown();
Heap::TearDown();
Logger::TearDown(); Logger::TearDown();
is_running_ = false; is_running_ = false;
......
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