There was an scenario where if the RRC was being accessed from different threads, it was causing unordered calls to willChangeResults and didChangeResults, and this was causing a crash on the collectionView/tableView.
Added RealmQueueManager, which is a wrapper around NSOperationQueue, that is going to prevent this by only executing 1 concurrent operation at a time.
Also added a Environment Variable that is going to prevent the operations to be enqueued while running tests
:tophat: What? Why?
There was an scenario where if the RRC was being accessed from different threads, it was causing unordered calls to
willChangeResults
anddidChangeResults
, and this was causing a crash on the collectionView/tableView.Added
RealmQueueManager
, which is a wrapper around NSOperationQueue, that is going to prevent this by only executing 1 concurrent operation at a time.Also added a Environment Variable that is going to prevent the operations to be enqueued while running tests
:ghost: GIF