From: yangguo@chromium.org Date: Wed, 24 Aug 2011 10:48:48 +0000 (+0000) Subject: Fixed the shared library build of D8 that was broken by r9005. X-Git-Tag: upstream/4.7.83~18658 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02e70b799bdb27019ded94df02236145287b8d70;p=platform%2Fupstream%2Fv8.git Fixed the shared library build of D8 that was broken by r9005. Review URL: http://codereview.chromium.org/7701024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9006 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/d8.cc b/src/d8.cc index bba2feabf..120496ecc 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; }