False positive for "Undetached delegate or data source"
Issue #107
resolved
Hi Ali,
I have somewhere in my code this:
_subscriber.networkStatsDelegate = self;
This delegate is nilled out in a method (cleanupSubscriber) which is eventually called in dealloc:
-(void)dealloc {
[self cleanupSession];
}
-(void)cleanupSession {
[self cleanupSubscriber];
...
}
-(void)cleanupSubscriber {
if (_subscriber) {
_subscriber.networkStatsDelegate = nil;
...
}
}
FauxPas thinks that the delegate is undetached though.
Comments (2)
-
reporter -
reporter - changed status to resolved
Removed as a duplicate
- Log in to comment
I remove this since it is a duplicate of an already reported issue.