mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: stop using v8::Locker everywhere (#34078)
This commit is contained in:
@@ -389,7 +389,6 @@ gfx::Rect Tray::GetBounds() {
|
||||
bool Tray::CheckAlive() {
|
||||
if (!tray_icon_) {
|
||||
v8::Isolate* isolate = JavascriptEnvironment::GetIsolate();
|
||||
v8::Locker locker(isolate);
|
||||
v8::HandleScope scope(isolate);
|
||||
gin_helper::ErrorThrower(isolate).ThrowError("Tray is destroyed");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user