in FBAllocationTrackerImpl std::vector<id> instancesOfClassForGeneration I filter it with code:
if ([NSStringFromClass(aCls) isEqualToString:@"__NSCFCalendar"]) { return std::vector<id> {}; }
then my project run complete with retain cycles button tap.
Quite interesting. I will look more closely into that. While your workaround is fine, I'll try to find a root cause of that. If we're unable to avoid that, we can just filter it out.
I have test the FBMemoryProfiler in my project and cause some crash:
when I filter it the crash fixed.
if ([self.namePath[0] isEqualToString:@"_screenPageMap"]) { NSLog(@""); return retainedObjects; }
- (NSArray *)instancesForClass:(__unsafe_unretained Class)aCls inGeneration:(NSInteger)generation
in FBAllocationTrackerImpl
std::vector<id> instancesOfClassForGeneration
I filter it with code:if ([NSStringFromClass(aCls) isEqualToString:@"__NSCFCalendar"]) { return std::vector<id> {}; }
then my project run complete with retain cycles button tap.