Permalink
Browse files

Merge pull request #530 from blakewatters/bugfix/release-reachability…

…-reference

Fix for reachability release issue #529
  • Loading branch information...
2 parents f0e6b53 + 3589d25 commit b43345b8c81cbba9478e34eb09a163c13b500e89 @mattt mattt committed Sep 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 AFNetworking/AFHTTPClient.m
View
1 AFNetworking/AFHTTPClient.m
@@ -366,6 +366,7 @@ - (void)stopMonitoringNetworkReachability {
if (_networkReachability) {
SCNetworkReachabilityUnscheduleFromRunLoop(_networkReachability, CFRunLoopGetMain(), (CFStringRef)NSRunLoopCommonModes);
CFRelease(_networkReachability);
+ _networkReachability = NULL;
}
}

0 comments on commit b43345b

Please sign in to comment.