[Issue #124] Calling super implementation in -isReady, following the guidelines for NSOperation subclasses
This commit is contained in:
parent
a912382431
commit
e37c641656
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ static inline NSString * AFKeyPathFromOperationState(AFOperationState state) {
|
||||||
#pragma mark - NSOperation
|
#pragma mark - NSOperation
|
||||||
|
|
||||||
- (BOOL)isReady {
|
- (BOOL)isReady {
|
||||||
return self.state == AFHTTPOperationReadyState;
|
return self.state == AFHTTPOperationReadyState && [super isReady];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)isExecuting {
|
- (BOOL)isExecuting {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue