Skip to content
Browse files

Fix Mac build

  • Loading branch information...
1 parent 0d9fa92 commit 63061ac428a3ea639f4c75b9857074208ff77389 @pokeb pokeb committed Nov 13, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 Classes/ASIHTTPRequest.m
View
4 Classes/ASIHTTPRequest.m
@@ -24,7 +24,7 @@
#import "ASIDataCompressor.h"
// Automatically set on build
-NSString *ASIHTTPRequestVersion = @"v1.7-139 2010-11-13";
+NSString *ASIHTTPRequestVersion = @"v1.7-140 2010-11-13";
NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain";
@@ -680,8 +680,10 @@ - (void)clearDelegatesAndCancel
[self setDownloadProgressDelegate:nil];
[self setUploadProgressDelegate:nil];
+ #if NS_BLOCKS_AVAILABLE
// Clear blocks
[self releaseBlocksOnMainThread];
+ #endif
[[self cancelledLock] unlock];
[self cancel];

0 comments on commit 63061ac

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