Added cancel of previous performSelector invocations to the auto-recovering http data source

This commit is contained in:
Alexey Blinov 2013-04-03 13:45:06 +01:00
parent c67999ac3c
commit 341bd0358b
1 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,8 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
[self stopNotifier];
[NSObject cancelPreviousPerformRequestsWithTarget:self];
if (reachabilityRef!= NULL)
{
CFRelease(reachabilityRef);