Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…-reference

Fix for reachability release issue #529
  • Loading branch information...
commit b43345b8c81cbba9478e34eb09a163c13b500e89 2 parents f0e6b53 + 3589d25
@mattt mattt authored
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;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.