Authored by Bogdan Poplauschi

Merge pull request #683 from brynbodayle/master

Fixed issue where cancelled operations aren't removed from runningOperations.
... ... @@ -197,6 +197,10 @@
}];
operation.cancelBlock = ^{
[subOperation cancel];
@synchronized (self.runningOperations) {
[self.runningOperations removeObject:weakOperation];
}
};
}
else if (image) {
... ...