Removing NSDefaultRunLoop frrom default runLoopModes in AFHTTPRequestOperation instances

This commit is contained in:
Mattt Thompson 2011-08-07 14:32:02 -05:00
parent ceed5f6b9f
commit 065ee0226f
2 changed files with 1 additions and 12 deletions

View file

@ -113,7 +113,7 @@ static inline BOOL AFHTTPOperationStateTransitionIsValid(AFHTTPOperationState fr
self.request = urlRequest; self.request = urlRequest;
self.runLoopModes = [NSSet setWithObjects:NSDefaultRunLoopMode, NSRunLoopCommonModes, nil]; self.runLoopModes = [NSSet setWithObjects:NSRunLoopCommonModes, nil];
self.state = AFHTTPOperationReadyState; self.state = AFHTTPOperationReadyState;

View file

@ -72,15 +72,4 @@ static inline CGSize kAFImageRequestRoundedCornerRadii(CGSize imageSize) {
}]; }];
} }
- (id)initWithRequest:(NSURLRequest *)urlRequest {
self = [super initWithRequest:urlRequest];
if (!self) {
return nil;
}
self.runLoopModes = [NSSet setWithObject:NSRunLoopCommonModes];
return self;
}
@end @end