Crash when updating relations
When running on the iOS 16.4 simulator, compiled with Xcode Version 15.0 (15A240d), I get a crash (EXC_BAD_ACCESS
) in Circles when the Room
executes updateRelations()
.
Based on a quick internet search, it sounds like this could be an actor isolation issue [1]. We're modifying internal state, and we're not doing it on the MainActor
, so it's possible that we're hitting some sort of race condition. The internal state var's are not @Published
so in previous versions of Swift, we weren't required to use MainActor... but maybe it is required now???