fix(ios): check weak self status

This commit is contained in:
luomy
2022-07-07 10:12:58 +08:00
parent 47a128bf43
commit 6a18053555
@@ -374,7 +374,10 @@ void NativeRenderBoarderColorsRelease(NativeRenderBorderColors c) {
return;
}
dispatch_async(dispatch_get_main_queue(), ^{
__typeof(weakSelf) strongSelf = weakSelf;
__strong __typeof(weakSelf) strongSelf = weakSelf;
if (!strongSelf) {
return;
}
CALayer *strongLayer = strongSelf.layer;
CGRect contentsCenter = ({
CGSize size = contentImage.size;