Network Reachability Referenced Not set to NULL after CFRelease #529

Closed
blakewatters opened this Issue Sep 19, 2012 · 1 comment

Projects

None yet

2 participants

Contributor

Small issue I ran into while doing some stubbing of reachability in offline mode. After a call to stopMonitoringNetworkReachability, the _networkReachability is not set to NULL after being handed to CFRelease. If another call path tries to stop the monitoring again, you hit a crash attempting to work with the deallocated object instance.

Present in master as of f0e6b53

Contributor
mattt commented Sep 19, 2012

Fixed by b43345b.

@mattt mattt closed this Sep 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment