Merge pull request #389 from lavoy/master

Calls progress block regardless of completion block and options
This commit is contained in:
Olivier Poitrey 2013-05-08 20:25:57 -07:00
commit b8ab9d77b5
1 changed files with 5 additions and 7 deletions

View File

@ -241,13 +241,11 @@
}
CFRelease(imageSource);
NSUInteger received = self.imageData.length;
}
if (self.progressBlock)
{
self.progressBlock(received, self.expectedSize);
}
self.progressBlock(self.imageData.length, self.expectedSize);
}
}