Skip to content

DependencyInjectionEventSource Memory leak #73832

Closed
@windhuan

Description

@windhuan

.net core 6.0.400-preview.22330.6

my code

image

Memory analysis

image

reason , HubConnectionBuilder.Build function

image

Add instance to DependencyInjectionEventSource._providers when ServiceProvider is created,but it can't remove when serviceprovider has no reference

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions