newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 143 forks source link

Make sure we clean up the dtTracer and externalTracer when we get an … #1902

Closed jbedell-newrelic closed 5 months ago

jbedell-newrelic commented 5 months ago

…exception to prevent memory leaks. Also caught a couple edge cases for missed UnknownHost exceptions

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.67%. Comparing base (edf5bea) to head (a7f653d). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1902 +/- ## ============================================ - Coverage 70.67% 70.67% -0.01% + Complexity 9861 9860 -1 ============================================ Files 826 826 Lines 39804 39804 Branches 6062 6062 ============================================ - Hits 28131 28130 -1 Misses 8950 8950 - Partials 2723 2724 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.