Skip to content

resolved refs cache is not thread safe #741

@grahamcrowell

Description

@grahamcrowell

Cache for resolved ref URIs (introduced by #469) is not thread safe so concurrent calls to loader.LoadFromFile can result in a concurrent map read and map write error.

I think a simple package level mutex with a read lock here and a write lock here would fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions