iOS:fix memory leak

This commit is contained in:
pengfei.zhou 2020-03-21 18:20:32 +08:00 committed by osborn
parent 29402662ef
commit 9335df620f

View File

@ -110,7 +110,7 @@ - (void)blendView:(UIImageView *)view forPropName:(NSString *)name propValue:(id
} }
if (error) { if (error) {
[[self currentErrorImage] also:^(UIImage *it) { [[self currentErrorImage] also:^(UIImage *it) {
view.image = it; self.view.image = it;
}]; }];
if (self.loadCallbackId.length > 0) { if (self.loadCallbackId.length > 0) {
[self callJSResponse:self.loadCallbackId, nil]; [self callJSResponse:self.loadCallbackId, nil];