| Index: src/d8.cc
|
| diff --git a/src/d8.cc b/src/d8.cc
|
| index 160ffa316edf90eac24a5fc62a040e979d82e134..1b6dbe8ca1c4838037e891a1e1946954e15ea345 100644
|
| --- a/src/d8.cc
|
| +++ b/src/d8.cc
|
| @@ -968,6 +968,7 @@ void ShellThread::Run() {
|
| #endif // V8_SHARED
|
|
|
|
|
| +#ifndef V8_SHARED
|
| SourceGroup::~SourceGroup() {
|
| delete next_semaphore_;
|
| next_semaphore_ = NULL;
|
| @@ -976,7 +977,7 @@ SourceGroup::~SourceGroup() {
|
| delete thread_;
|
| thread_ = NULL;
|
| }
|
| -
|
| +#endif
|
|
|
| void SourceGroup::ExitShell(int exit_code) {
|
| // Use _exit instead of exit to avoid races between isolate
|
|
|