magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

cleanUp in applicationWillTerminate - for what we need it? #1217

Open freegor opened 8 years ago

freegor commented 8 years ago

Hi people, I do setup of local notifications in my app in a background task on a user exit from the app. Inside this task I have reading data from Core Data. If user finishes using the app with double click on the Home button and does swipe up, applicationWillTerminate is called, Magical Record cleanup, and the task have crash. After applicationWillTerminate, OS will release all resources and memory of an app, I think I can free remove cleanUp method from applicationWillTerminate. Maybe I miss something important?

Regards

wongzigii commented 7 years ago

@freegor Did you find something finally?