Skip to content

Host: Consider removing of destructors on types used for statics #36580

@swaroop-sridhar

Description

@swaroop-sridhar

@janvorli wrote:
I wonder if we could rather get rid of destructors on types used for statics. We've done that in coreclr long time ago as it was just causing troubles due to the fact that the order of destruction of such objects is undefined and if one ends up referencing the other or something similar, it can cause all kinds of funny issues.

CC: @am11
Ref: #36527

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions