Skip to content

Commit

Permalink
restore CrashLogMessageExtractor with disabled __cxa_throw swapper (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx authored Aug 2, 2024
1 parent abebe1b commit b787bbe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10206,7 +10206,7 @@
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 176.1.1;
version = "176.1.1-1";
};
};
9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/DuckDuckGo/BrowserServicesKit",
"state" : {
"revision" : "a3e62d6c295063f757ef7dc2f96b6a57a503f0f5",
"version" : "176.1.1"
"revision" : "7325384a51085d470607427e4555acc3d0fba1a6",
"version" : "176.1.1-1"
}
},
{
Expand Down
6 changes: 6 additions & 0 deletions DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b787bbe

Please sign in to comment.