fix: missing HandleScope in OnDownloadPathGenerated (#23005)
This commit is contained in:
parent
29f773e008
commit
de893360f7
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ void ElectronDownloadManagerDelegate::OnDownloadPathGenerated(
|
|||
settings.force_detached = offscreen;
|
||||
|
||||
v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
||||
v8::HandleScope scope(isolate);
|
||||
gin_helper::Promise<gin_helper::Dictionary> dialog_promise(isolate);
|
||||
auto dialog_callback = base::BindOnce(
|
||||
&ElectronDownloadManagerDelegate::OnDownloadSaveDialogDone,
|
||||
|
|
Loading…
Add table
Reference in a new issue