From 9335df620fff8675b5324063c8bd3bfe8042eb60 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Sat, 21 Mar 2020 18:20:32 +0800 Subject: [PATCH] iOS:fix memory leak --- doric-iOS/Pod/Classes/Shader/DoricImageNode.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m index 13dfcc83..eb94ccc4 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m @@ -110,7 +110,7 @@ - (void)blendView:(UIImageView *)view forPropName:(NSString *)name propValue:(id } if (error) { [[self currentErrorImage] also:^(UIImage *it) { - view.image = it; + self.view.image = it; }]; if (self.loadCallbackId.length > 0) { [self callJSResponse:self.loadCallbackId, nil];