Check for finished operations in order to increments the numberOfFinishedOperations count
This commit is contained in:
parent
0d49f731a2
commit
8d075dde30
@ -606,7 +606,7 @@ static void AFNetworkReachabilityReleaseCallback(const void *info) {
|
||||
}
|
||||
|
||||
NSInteger numberOfFinishedOperations = [[operations indexesOfObjectsPassingTest:^BOOL(id op, NSUInteger __unused idx, BOOL __unused *stop) {
|
||||
return [op isCancelled];
|
||||
return [op isFinished];
|
||||
}] count];
|
||||
|
||||
if (progressBlock) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user