You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my initial thoughts were that the ARTiledImageView could be nil'd during this, but the crash seems to be entirely related to local scope, so it's very unlikely. Perhaps this is a case of a secondary thread making changes to the urls dictionary? ( again, I think this won't be the case as urls isn't a instance var )
One potential fix, could be to switch to using - (void)enumerateKeysAndObjectsUsingBlock:(void (^)(id key, id obj, BOOL *stop))block but you really should be safe to use the key when you're iterating
The only explanation that I can come up with is that the object is being destroyed on one thread, and still being access on another. We do [self.downloadOperations objectForKey:tileCacheKey], as self.downloadOperations is being cleared because dealloc calls cancelConcurrentDownloads, which calls [self.downloadOperations removeAllObjects];, on different threads.
Somehow this can crash:
In Artsy's Eigen app: https://rink.hockeyapp.net/manage/apps/37029/app_versions/16/crash_reasons/12678564 (requires logon)
The text was updated successfully, but these errors were encountered: