Skip to content

Commit

Permalink
rollback CrashLogMessageExtractor with disabled __cxa_throw swapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx committed Jul 24, 2024
1 parent fb27cdf commit ffd9c1b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10193,8 +10193,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 175.0.0;
kind = revision;
revision = 260b441ee5674a1eec4a1331796685036d528aac;
};
};
9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/DuckDuckGo/BrowserServicesKit",
"state" : {
"revision" : "b2f5a7159088ff5c4fd2eeaa4dcf5c001fc8f7fb",
"version" : "175.0.0"
"revision" : "260b441ee5674a1eec4a1331796685036d528aac"
}
},
{
Expand Down
6 changes: 6 additions & 0 deletions DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,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 ffd9c1b

Please sign in to comment.