Reviewers: jkummerow,

Message:
PTAL.

Description:
Fixed the shared library build of D8 that was broken by r9005.


Please review this at http://codereview.chromium.org/7701024/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/d8.cc


Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index bba2feabf05013446288a2037756f01ea801b6f3..120496eccce5921f887eafadf6ebd71e59867edc 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1287,7 +1287,10 @@ int Shell::Main(int argc, char* argv[]) {
   }

   V8::Dispose();
+
+#ifndef V8_SHARED
   OnExit();
+#endif  // V8_SHARED

   return result;
 }


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

Reply via email to