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:
@@ -349,7 +349,6 @@ void BrowserWindow::UpdateWindowControlsOverlay(
|
||||
|
||||
void BrowserWindow::CloseImmediately() {
|
||||
// Close all child windows before closing current window.
|
||||
v8::Locker locker(isolate());
|
||||
v8::HandleScope handle_scope(isolate());
|
||||
for (v8::Local<v8::Value> value : child_windows_.Values(isolate())) {
|
||||
gin::Handle<BrowserWindow> child;
|
||||
|
||||
Reference in New Issue
Block a user