Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | #import "ASIDataCompressor.h" | 24 | #import "ASIDataCompressor.h" |
| 25 | 25 | ||
| 26 | // Automatically set on build | 26 | // Automatically set on build |
| 27 | -NSString *ASIHTTPRequestVersion = @"v1.7-139 2010-11-13"; | 27 | +NSString *ASIHTTPRequestVersion = @"v1.7-140 2010-11-13"; |
| 28 | 28 | ||
| 29 | NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain"; | 29 | NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain"; |
| 30 | 30 | ||
| @@ -680,8 +680,10 @@ static NSOperationQueue *sharedQueue = nil; | @@ -680,8 +680,10 @@ static NSOperationQueue *sharedQueue = nil; | ||
| 680 | [self setDownloadProgressDelegate:nil]; | 680 | [self setDownloadProgressDelegate:nil]; |
| 681 | [self setUploadProgressDelegate:nil]; | 681 | [self setUploadProgressDelegate:nil]; |
| 682 | 682 | ||
| 683 | + #if NS_BLOCKS_AVAILABLE | ||
| 683 | // Clear blocks | 684 | // Clear blocks |
| 684 | [self releaseBlocksOnMainThread]; | 685 | [self releaseBlocksOnMainThread]; |
| 686 | + #endif | ||
| 685 | 687 | ||
| 686 | [[self cancelledLock] unlock]; | 688 | [[self cancelledLock] unlock]; |
| 687 | [self cancel]; | 689 | [self cancel]; |
-
Please register or login to post a comment