-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
dispose of client should only flush #1354
Conversation
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.
I wonder if we need this also on Hub.cs
@bruno-garcia does the hub exist in the container? and hence has the same problem? |
Yes. Both are registered here: Lines 26 to 27 in 1605e97
In fact |
Test is complaining about this: |
Co-authored-by: LucasZF <lucas-zimerman1@hotmail.com>
…com/getsentry/sentry-dotnet into dispose-of-client-should-only-flush
@bruno-garcia so what do we do in hub.dispose?
just return? |
Codecov Report
@@ Coverage Diff @@
## main #1354 +/- ##
==========================================
- Coverage 84.20% 82.80% -1.41%
==========================================
Files 219 219
Lines 7363 7350 -13
Branches 1416 1409 -7
==========================================
- Hits 6200 6086 -114
- Misses 728 838 +110
+ Partials 435 426 -9
Continue to review full report at Codecov.
|
@@ -419,13 +421,28 @@ public void CaptureUserFeedback_EventIdEmpty_FeedbackIgnored() | |||
//Assert | |||
_ = sut.Worker.DidNotReceive().EnqueueEnvelope(Arg.Any<Envelope>()); | |||
} | |||
[Fact] |
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.
[Fact] | |
[Fact] |
fixes #599