Skip to content
Browse files

RXFuture is ARC-capable.

  • Loading branch information...
1 parent afdf7d5 commit 4c54c4272e6d70a82b7a04773fb7cd26649eb399 @robrix committed Feb 14, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 RXFutures/RXFuture.m
View
4 RXFutures/RXFuture.m
@@ -31,10 +31,12 @@ -(id)init {
}
-(void)dealloc {
+ dispatch_release(queue);
+#if !__has_feature(objc_arc)
[completionHandlers release];
[cancellationHandlers release];
- dispatch_release(queue);
[super dealloc];
+#endif
}

0 comments on commit 4c54c42

Please sign in to comment.
Something went wrong with that request. Please try again.