This repository was archived by the owner on Feb 2, 2023. It is now read-only.
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
[NSFetchedResultsController] ASTableView crash in ASDeleteElementsInMultidimensionalArrayAtIndexPaths #1493
Closed
Description
On the initial load of an ASTableView
I am sometimes getting a crash in ASDeleteElementsInMultidimensionalArrayAtIndexPaths
. In the update block [arr removeObjectsAtIndexes:indexSet];
the array is empty but the indexSet
is not. I think this is happening when the ASTableView
is still loading but the NSFetchedResultsControllerDelegate
tries to make an update.
Is there something I am doing wrong?
I do not have a way of reproducing other than starting up the app many times. I am attaching a full stack trace. I will also try to reproduce in a demo project.