Fix mjsunit/debug-script.js failure that occurs when running with the --isolates flag.
R=yangguo@chromium.org Review URL: https://chromiumcodereview.appspot.com/10825454 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12347 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
cfc4c37768
commit
2f2fc538ac
@ -1589,6 +1589,11 @@ void SourceGroup::ExecuteInThread() {
|
||||
Execute();
|
||||
}
|
||||
context.Dispose();
|
||||
if (Shell::options.send_idle_notification) {
|
||||
const int kLongIdlePauseInMs = 1000;
|
||||
V8::ContextDisposedNotification();
|
||||
V8::IdleNotification(kLongIdlePauseInMs);
|
||||
}
|
||||
}
|
||||
if (done_semaphore_ != NULL) done_semaphore_->Signal();
|
||||
} while (!Shell::options.last_run);
|
||||
|
Loading…
Reference in New Issue
Block a user