Skip to content

Commit

Permalink
Disabling memory termination feature from KSCrash
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoEmbrace committed Dec 4, 2024
1 parent 559dc68 commit 4c3a7d2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/embrace-io/KSCrash.git",
"state" : {
"revision" : "0468c294af9d271301bf8ad1942dc4aa3cf6ab08",
"version" : "2.0.6"
"revision" : "6ce425727d3895c14cd7ff839f788ccb2bcf4081",
"version" : "2.0.7"
}
},
{
Expand All @@ -132,8 +132,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/open-telemetry/opentelemetry-swift",
"state" : {
"revision" : "0dd37c4a14a6aeeb131eea40a13cb3832c7c6a97",
"version" : "1.10.1"
"revision" : "f2315d8646432c02338960e85b5fe20417ad6d8d",
"version" : "1.12.1"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/embrace-io/KSCrash.git",
"state" : {
"revision" : "0468c294af9d271301bf8ad1942dc4aa3cf6ab08",
"version" : "2.0.6"
"revision" : "6ce425727d3895c14cd7ff839f788ccb2bcf4081",
"version" : "2.0.7"
}
},
{
"identity" : "opentelemetry-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/open-telemetry/opentelemetry-swift",
"state" : {
"revision" : "0dd37c4a14a6aeeb131eea40a13cb3832c7c6a97",
"version" : "1.10.1"
"revision" : "f2315d8646432c02338960e85b5fe20417ad6d8d",
"version" : "1.12.1"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/embrace-io/KSCrash.git",
"state" : {
"revision" : "0468c294af9d271301bf8ad1942dc4aa3cf6ab08",
"version" : "2.0.6"
"revision" : "6ce425727d3895c14cd7ff839f788ccb2bcf4081",
"version" : "2.0.7"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/embrace-io/KSCrash.git",
exact: "2.0.6"
exact: "2.0.7"
),
.package(
url: "https://github.com/open-telemetry/opentelemetry-swift",
Expand Down
1 change: 1 addition & 0 deletions Sources/EmbraceCrash/EmbraceCrashReporter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public final class EmbraceCrashReporter: NSObject, CrashReporter {

let bundleName = context.appId ?? "default"
ksCrash = KSCrash.sharedInstance(withBasePath: basePath, andBundleName: bundleName)
ksCrash?.reportsMemoryTerminations = false // this feature seems to have many issues, disabling it for now

updateKSCrashInfo()
ksCrash?.install()
Expand Down

0 comments on commit 4c3a7d2

Please sign in to comment.