Merge pull request #389 from lavoy/master
Calls progress block regardless of completion block and options
This commit is contained in:
commit
b8ab9d77b5
|
@ -241,13 +241,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
CFRelease(imageSource);
|
CFRelease(imageSource);
|
||||||
|
}
|
||||||
NSUInteger received = self.imageData.length;
|
|
||||||
|
|
||||||
if (self.progressBlock)
|
if (self.progressBlock)
|
||||||
{
|
{
|
||||||
self.progressBlock(received, self.expectedSize);
|
self.progressBlock(self.imageData.length, self.expectedSize);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue