fix: add missing handle scope in file_dialog_gtk (#23109)
This commit is contained in:
parent
4ee3c871f3
commit
111f9155e0
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ class FileChooserDialog {
|
|||
|
||||
void FileChooserDialog::OnFileDialogResponse(GtkWidget* widget, int response) {
|
||||
gtk_widget_hide(dialog_);
|
||||
v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
||||
v8::HandleScope scope(isolate);
|
||||
if (save_promise_) {
|
||||
gin_helper::Dictionary dict =
|
||||
gin::Dictionary::CreateEmpty(save_promise_->isolate());
|
||||
|
|
Loading…
Add table
Reference in a new issue