-
-
Couldn't load subscription status.
- Fork 225
fix: Marked SentrySdk.Metrics as obsolete
#3619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SentrySdk.Metrics as obsolete
| Metrics.FlushAsync().ContinueWith(_ => | ||
| CurrentClient.FlushAsync(_options.ShutdownTimeout).ConfigureAwait(false).GetAwaiter().GetResult() | ||
| ).ConfigureAwait(false).GetAwaiter().GetResult(); | ||
| CurrentClient.FlushAsync(_options.ShutdownTimeout).ConfigureAwait(false).GetAwaiter().GetResult(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we marking it as obsolete or removing the functionality in this PR? This change is removing metrics functionality right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see in the PR description:
While marking the API as obsolete I also removed the shutdown flushing. I think it's fairly low risk and it fixes the deadlocking situation in getsentry/sentry-unity#1779
Relates to Metrics Deprecation #3597
While marking the API as obsolete I also removed the shutdown flushing. I think it's fairly low risk and it fixes the deadlocking situation in getsentry/sentry-unity#1779