Skip to content

Thread safety issue in PresentationBuildTasks #591

Closed
@weltkante

Description

@weltkante

During the bugfix for #350 and #378 in PR #570 the static initialization of KnownAssemblyInfoRecord on BamlMapTable was moved into the constructor while keeping the initialized field static. This can lead to potential race conditions when the BamlMapTable is instantiated multiple times on separate threads.

Considering the post-merge comments in the PR its probably safe to make the field an instance field instead of a static field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions