-
Notifications
You must be signed in to change notification settings - Fork 367
ASHTimerViewModel中的nstimer会有内存泄露吧 #26
Comments
You're see a memory leak with the NSTimer? Where, specifically? |
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. |
No description provided.
The text was updated successfully, but these errors were encountered: