Skip to content

[Bug]: instance! crashes sometimes #29

@cac-99

Description

@cac-99

Platform Version

iOS 16

SDK Version

3.5

Xcode Version

Xcode 14.3

Steps To Reproduce

Race condition, just try to call getValueForFlag right after instantiating

Expected Behavior

The entire app should not crash. Probably better not to use ! at all

Actual Incorrect Behavior

The app crashes occasionally. I put the getValueForFlag in a Task so it gets delayed, which seems to help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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