You need to sign in or sign up before continuing.
Ben Copsey

ASIWebPageRequests retain their parent

Tweaks to Mac sample app layout
... ... @@ -24,7 +24,7 @@
#import "ASIDataCompressor.h"
// Automatically set on build
NSString *ASIHTTPRequestVersion = @"v1.7-99 2010-10-03";
NSString *ASIHTTPRequestVersion = @"v1.7-100 2010-10-03";
NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain";
... ...
... ... @@ -59,6 +59,6 @@ typedef enum _ASIWebContentType {
- (NSString *)cachePathForRequest:(ASIWebPageRequest *)theRequest;
@property (assign, nonatomic) ASIWebPageRequest *parentRequest;
@property (retain, nonatomic) ASIWebPageRequest *parentRequest;
@property (assign, nonatomic) BOOL replaceURLsWithDataURLs;
@end
... ...
... ... @@ -39,6 +39,12 @@ static NSMutableArray *requestsUsingXMLParser = nil;
}
}
- (void)dealloc
{
[parentRequest release];
[super dealloc];
}
- (void)markAsFinished
{
}
... ...
This diff is collapsed. Click to expand it.