dispose of client should only flush#1354
Conversation
bruno-garcia
left a comment
There was a problem hiding this comment.
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: 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.
|
| //Assert | ||
| _ = sut.Worker.DidNotReceive().EnqueueEnvelope(Arg.Any<Envelope>()); | ||
| } | ||
| [Fact] |
There was a problem hiding this comment.
| [Fact] | |
| [Fact] |
fixes #599