Skip to content

Commit

Permalink
fix re-reg issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvreony committed Oct 14, 2024
1 parent a83f1c0 commit 5930e17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ public void UpdateContainer(IServiceProvider serviceProvider)
if (_serviceProvider is not null)
{
DisposeServiceProvider(_serviceProvider);

Check warning on line 106 in src/Splat.Microsoft.Extensions.DependencyInjection/MicrosoftDependencyResolver.cs

View check run for this annotation

Codecov / codecov/patch

src/Splat.Microsoft.Extensions.DependencyInjection/MicrosoftDependencyResolver.cs#L106

Added line #L106 was not covered by tests
_serviceProvider = serviceProvider;
}

_serviceProvider = serviceProvider;
_serviceCollection = null;
_isImmutable = true;
}
Expand Down

0 comments on commit 5930e17

Please sign in to comment.