From: yangguo@chromium.org Date: Thu, 14 Jul 2011 10:46:45 +0000 (+0000) Subject: sample shell does not link against shared lib due to latest change X-Git-Tag: upstream/4.7.83~18898 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cbd1a1d3061a6c8b60af9de2e1cc67b0bb6b777;p=platform%2Fupstream%2Fv8.git sample shell does not link against shared lib due to latest change Review URL: http://codereview.chromium.org/7366004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8652 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/samples/shell.cc b/samples/shell.cc index 3c78ea4..f37e731 100644 --- a/samples/shell.cc +++ b/samples/shell.cc @@ -95,10 +95,12 @@ class SourceGroup { begin_offset_(0), end_offset_(0) { } +#if !(defined(USING_V8_SHARED) || defined(V8_SHARED)) ~SourceGroup() { delete next_semaphore_; delete done_semaphore_; } +#endif // USING_V8_SHARED void Begin(char** argv, int offset) { argv_ = const_cast(argv);