Skip to content

Commit

Permalink
activity may be null here
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hensley committed Sep 18, 2023
1 parent 872ce63 commit 6999167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ private static void ProcessResult(IAsyncResult asyncResult, AsyncCallback asyncC
HttpInstrumentationEventSource.Log.FailedProcessResult(ex);
}

activity.Stop();
activity?.Stop();

if (HttpClientDuration.Enabled)
{
Expand Down

0 comments on commit 6999167

Please sign in to comment.