Chromium Code Reviews| Index: samples/shell.cc |
| =================================================================== |
| --- samples/shell.cc (revision 8778) |
| +++ samples/shell.cc (working copy) |
| @@ -95,6 +95,13 @@ |
| 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<const char**>(argv); |
| begin_offset_ = offset; |