mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: missing HandleScope in ResetBrowserViews (#28266)
This commit is contained in:
@@ -1112,6 +1112,8 @@ int32_t BaseWindow::GetID() const {
|
||||
}
|
||||
|
||||
void BaseWindow::ResetBrowserViews() {
|
||||
v8::HandleScope scope(isolate());
|
||||
|
||||
for (auto& item : browser_views_) {
|
||||
gin::Handle<BrowserView> browser_view;
|
||||
if (gin::ConvertFromV8(isolate(),
|
||||
|
||||
Reference in New Issue
Block a user