From 6bb08e71d610671f2b2c0080fb61bcf534e4dcb2 Mon Sep 17 00:00:00 2001 From: Sheen Tian Date: Mon, 7 Oct 2024 18:38:13 +0800 Subject: [PATCH] fix: fix crash when downloading --- .../CefBrowserApp/CefViewBrowserClient_DownloadHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CefView/CefBrowserApp/CefViewBrowserClient_DownloadHandler.cpp b/src/CefView/CefBrowserApp/CefViewBrowserClient_DownloadHandler.cpp index fc8ca79..f442a51 100644 --- a/src/CefView/CefBrowserApp/CefViewBrowserClient_DownloadHandler.cpp +++ b/src/CefView/CefBrowserApp/CefViewBrowserClient_DownloadHandler.cpp @@ -40,7 +40,7 @@ CefViewBrowserClient::OnBeforeDownload(CefRefPtr browser, if (delegate) delegate->onBeforeDownload(browser, download_item, suggested_name, callback); - return false; + return true; } #endif