From ae08c22863af97130a82cc1a985c7b83469c6b71 Mon Sep 17 00:00:00 2001 From: TEDERIs Date: Sun, 25 Dec 2022 19:43:28 +0700 Subject: [PATCH] Possible crash fix for libcef(0x3705563) --- Client/cefweb/CWebApp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Client/cefweb/CWebApp.cpp b/Client/cefweb/CWebApp.cpp index 00e4b69d57..b80fe8c03c 100644 --- a/Client/cefweb/CWebApp.cpp +++ b/Client/cefweb/CWebApp.cpp @@ -32,6 +32,9 @@ void CWebApp::OnBeforeCommandLineProcessing(const CefString& process_type, CefRe // command_line->AppendSwitch("disable-d3d11"); command_line->AppendSwitch("enable-begin-frame-scheduling"); + // browser-signin switch(or lack thereof) produces crashes when GOOGLE API keys are present in the OS registry + command_line->AppendSwitchWithValue("allow-browser-signin", "false"); + if (process_type.empty()) { command_line->AppendSwitchWithValue("autoplay-policy", "no-user-gesture-required");