Skip to content

Commit

Permalink
Update Provider.GetOrCreate.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
pmosk authored Nov 27, 2024
1 parent d19028a commit b568784
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public SocketsHttpHandler GetOrCreate([AllowNull] string name, Action<SocketsHtt
{
return disposed
? throw new ObjectDisposedException($"{nameof(DefaultSocketsHttpHandlerProvider)} was disposed.")
: namedHandlers.GetOrAdd(name ?? string.Empty,CreateHandler);
: namedHandlers.GetOrAdd(name ?? string.Empty, CreateHandler);

SocketsHttpHandler CreateHandler(string _)
{
Expand All @@ -20,4 +20,4 @@ SocketsHttpHandler CreateHandler(string _)
return handler;
}
}
}
}

0 comments on commit b568784

Please sign in to comment.