This PR fixes a bug where we injected a scoped instance into a singleton. The scoped instance got disposed under the feet of the singleton when we disposed the scope and we discovered an error related to accessing a disposed object. Yet another test that should have been covered by the tests provided by Microsoft.Extensions.DependencyInjection.Specification.Tests 👍
This PR fixes a bug where we injected a scoped instance into a singleton. The scoped instance got disposed under the feet of the singleton when we disposed the scope and we discovered an error related to accessing a disposed object. Yet another test that should have been covered by the tests provided by
Microsoft.Extensions.DependencyInjection.Specification.Tests
👍