From fe788530993f6a9d948a04d37747a9ead8d808b2 Mon Sep 17 00:00:00 2001 From: Alexey Martemyanov Date: Wed, 24 Jul 2024 16:46:51 +0600 Subject: [PATCH] rollback CrashLogMessageExtractor with disabled __cxa_throw swapper --- DuckDuckGo/AppDelegate.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DuckDuckGo/AppDelegate.swift b/DuckDuckGo/AppDelegate.swift index 1d84119be4..3111c1461b 100644 --- a/DuckDuckGo/AppDelegate.swift +++ b/DuckDuckGo/AppDelegate.swift @@ -100,6 +100,12 @@ import WebKit override init() { super.init() + + if !didCrashDuringCrashHandlersSetUp { + didCrashDuringCrashHandlersSetUp = true + CrashLogMessageExtractor.setUp(swapCxaThrow: false) + didCrashDuringCrashHandlersSetUp = false + } } // swiftlint:disable:next function_body_length