summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-01-06 15:02:53 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-14 09:25:08 +0000
commit8e61fce3e596a2815838305e7ae10c42ba3ae6f6 (patch)
treeed5deaa37b7f7fa41b8af87bb62e3e133fcd673d
parentcb45f0e7a8c27c3909f105fc0c6bb05dd0a3ed1c (diff)
Do not override signal handlers
We used to have this, but it got dropped at some point in an adaptions. Fixes: QTBUG-99263 Change-Id: I3bf86a1b42edca0cd792723c85d7dcb7877fea37 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fbaab46becbf5ea063a8b4a01abf8cd1d4a1725d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/core/web_engine_context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index 77ac52c36..3a17db218 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -781,6 +781,7 @@ WebEngineContext::WebEngineContext()
registerMainThreadFactories();
content::ContentMainParams contentMainParams(m_mainDelegate.get());
+ contentMainParams.setup_signal_handlers = false;
#if defined(OS_WIN)
contentMainParams.sandbox_info = QtWebEngineSandbox::staticSandboxInterfaceInfo();
sandbox::SandboxInterfaceInfo sandbox_info = {0};