Seam icon indicating copy to clipboard operation
Seam copied to clipboard

Taking CoreData operations off main thread

Open saraseif opened this issue 6 years ago • 0 comments

Hello guys!

According to best practices, it is better to do Coredata related operations in the background, not to cause any possible performance drops, or UI blocks.

I feel like you are doing some database access in the main thread:

Class:StoreRelationshipTests function:testAddingTagToAlreadyAddedTask is calling deleteAll which is doing database operations.

Don't you think it would be better to take these operations off the main thread?

saraseif avatar May 30 '18 18:05 saraseif