call progress block regardless of completion block, options

This commit is contained in:
Andy LaVoy 2013-05-08 15:35:37 -07:00
parent 899d67ba54
commit 827fcac89b
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);
}
}
if (self.progressBlock)
{
self.progressBlock(self.imageData.length, self.expectedSize);
}
}