Open rogerjinHub opened 8 years ago
on ASHTimerViewModel file , you can write the dealloc function, and when the ASHTimerViewController pop, the dealloc function cannot be called, so it's memory leak, right?
you can start the time, don't to pause the time, and then pop the controller
Ah, interesting. Good catch, I'll try to get to that.
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'CoreData: FATAL ERROR: The persistent cache of section information does not match the current configuration. You have illegally mutated the NSFetchedResultsController's fetch request, its predicate, or its sort descriptor without either disabling caching or using +deleteCacheWithName:'
NSTimer will retain self.
You're see a memory leak with the NSTimer? Where, specifically?