RealFlags
RealFlags copied to clipboard
[Bug]: instance! crashes sometimes
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.