Skip to content

0.53 Nobody call disposeAsync on webApplicationFactory and any other injected classes #2867

@bazarniy

Description

@bazarniy

Sorry. On 0.53 I have default webapplication factory injected into test class as [ClassDataSource<CustomWebApplicationFactory>(Shared = SharedType.PerClass)]. It is IAsyncDisposable. And there are no calls to DisposeAsync method (and no for Dispose too)! For another injected classes (PerAssembly) is the same thing. InitializeAsync works fine

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions