mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: missing HandleScope in OnDownloadPathGenerated (#23005)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user