chore: stop using v8::Locker everywhere (#34078)

This commit is contained in:
Jeremy Rose 2022-05-05 11:50:21 -07:00 committed by GitHub
parent a2a8e493eb
commit d8a7219d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 0 additions and 43 deletions

View file

@ -171,7 +171,6 @@ JavascriptEnvironment::~JavascriptEnvironment() {
platform_->DrainTasks(isolate_);
{
v8::Locker locker(isolate_);
v8::HandleScope scope(isolate_);
context_.Get(isolate_)->Exit();
}
@ -370,7 +369,6 @@ void JavascriptEnvironment::OnMessageLoopCreated() {
void JavascriptEnvironment::OnMessageLoopDestroying() {
DCHECK(microtasks_runner_);
{
v8::Locker locker(isolate_);
v8::HandleScope scope(isolate_);
gin_helper::CleanedUpAtExit::DoCleanup();
}