Skip to content

Commit

Permalink
Fix NEEDS_DISPATCH_RETAIN_RELEASE checks
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Jul 25, 2012
1 parent 83a5c5d commit 5ef19d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Reachability.m
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ -(BOOL)startNotifier
//clear out the dispatch queue
if(self.reachabilitySerialQueue)
{
#ifdef NEEDS_DISPATCH_RETAIN_RELEASE
#if NEEDS_DISPATCH_RETAIN_RELEASE
dispatch_release(self.reachabilitySerialQueue);
#endif
self.reachabilitySerialQueue = nil;
Expand All @@ -247,7 +247,7 @@ -(BOOL)startNotifier
// then clear out the dispatch queue
if(self.reachabilitySerialQueue)
{
#ifdef NEEDS_DISPATCH_RETAIN_RELEASE
#if NEEDS_DISPATCH_RETAIN_RELEASE
dispatch_release(self.reachabilitySerialQueue);
#endif
self.reachabilitySerialQueue = nil;
Expand All @@ -271,7 +271,7 @@ -(void)stopNotifier

if(self.reachabilitySerialQueue)
{
#ifdef NEEDS_DISPATCH_RETAIN_RELEASE
#if NEEDS_DISPATCH_RETAIN_RELEASE
dispatch_release(self.reachabilitySerialQueue);
#endif
self.reachabilitySerialQueue = nil;
Expand Down

0 comments on commit 5ef19d5

Please sign in to comment.