chore: stop using v8::Locker everywhere (#34078)
This commit is contained in:
parent
a2a8e493eb
commit
d8a7219d07
23 changed files with 0 additions and 43 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue