Revision: 4752
Author: [email protected]
Date: Fri May 28 09:12:24 2010
Log: Reapply r4702 "Fix teardown order"

I accidentaly reverted changes from r4702 in r4706. Now bringing them back.

Original commit message:

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

[email protected]

Review URL: http://codereview.chromium.org/2325003
http://code.google.com/p/v8/source/detail?r=4752

Modified:
 /branches/bleeding_edge/src/v8.cc

=======================================
--- /branches/bleeding_edge/src/v8.cc   Fri May 21 22:27:19 2010
+++ /branches/bleeding_edge/src/v8.cc   Fri May 28 09:12:24 2010
@@ -149,10 +149,10 @@

   Top::TearDown();

-  Heap::TearDown();
-
   CpuProfiler::TearDown();

+  Heap::TearDown();
+
   Logger::TearDown();

   is_running_ = false;

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to