fix: missing HandleScope in ResetBrowserViews (#28266)
This commit is contained in:
parent
502d4c19ce
commit
a68d43ce8b
1 changed files with 2 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue