getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
797 stars 315 forks source link

Tapping "Close SDK" in iOS-Swift crashes the app #4134

Open armcknight opened 2 months ago

armcknight commented 2 months ago

Description

There's a timer set up in the app delegate that does something with SentryMetrics, and it crashes after the SDK is closed.

kahest commented 2 months ago

We need to investigate if this is unique to the sample app or of it can occur generally. Fwiw, we didn't receive reports from users about this