Added cancel of previous performSelector invocations to the auto-recovering http data source
This commit is contained in:
parent
c67999ac3c
commit
341bd0358b
|
|
@ -146,6 +146,8 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
|
|||
|
||||
[self stopNotifier];
|
||||
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self];
|
||||
|
||||
if (reachabilityRef!= NULL)
|
||||
{
|
||||
CFRelease(reachabilityRef);
|
||||
|
|
|
|||
Loading…
Reference in New Issue