Merge pull request #1435 from joshavant/master
Change `AFHTTPRequestOperation -(id)initWithCoder:` to call the `super` implementation
This commit is contained in:
commit
4339532076
@ -123,9 +123,7 @@ static dispatch_group_t http_request_operation_completion_group() {
|
||||
#pragma mark - NSCoding
|
||||
|
||||
- (id)initWithCoder:(NSCoder *)aDecoder {
|
||||
NSURLRequest *request = [aDecoder decodeObjectForKey:@"request"];
|
||||
|
||||
self = [self initWithRequest:request];
|
||||
self = [super initWithCoder:aDecoder];
|
||||
if (!self) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user