I have an app that uses Core Data in background. Every time when i push some view controller, starts background thread which loading data from server and fills it to core data. Every view controller uses NSFetchedResultsController for realtime table update.
The problem is that when i push some view controller and from them i again push other view controller (while data loading in background) i have crash when nsfetchedresultscontroller from previous viewcontroller trying update table.
How can i fix this?