Skip to content

Avoid service-factory activation and registry-shutdown lock inversion #12471

Description

@tomas-langer

Description

Registry shutdown holds the scope write lock while deactivating services, while factory activation holds an instance lock while invoking user factory lookup. Lock ordering should not call user lookup under the opposing lock; otherwise activation and shutdown can deadlock indefinitely.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

27.xIssues for 27.x version branchinject

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions