Skip to content

Concurrency: can ref registry before initialized #749

@mcclurgm

Description

@mcclurgm

See #742 (comment):

I believe I've tracked down the issue, and I don't think it's your fault, so I won't consider it a blocker for this PR. It looks like you uncovered a race condition. It appears that on constructing a CalendarChooser from a cold start, the registry property of the EventStore is null. From my testing, it seems like the error occurs before the registry is initialized in the async open method.

This causes a segfault because you're trying to call a method on a null object. To test, install a version that includes the updates in #742, which did something to reveal this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions