mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: remove more uses of v8::Isolate::GetCurrent() (#28369)
This commit is contained in:
@@ -264,7 +264,7 @@ void Menu::OnMenuWillClose() {
|
||||
}
|
||||
|
||||
void Menu::OnMenuWillShow() {
|
||||
Pin(v8::Isolate::GetCurrent());
|
||||
Pin(JavascriptEnvironment::GetIsolate());
|
||||
Emit("menu-will-show");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user