mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-29 14:10:47 +08:00
fix(ios): check weak self status
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user