iOS: fix when load image async cause crash
This commit is contained in:
parent
5367d214b8
commit
9c19a76cf8
@ -157,6 +157,9 @@ - (void)reset {
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)subNodeContentChanged:(DoricViewNode *)subNode {
|
- (void)subNodeContentChanged:(DoricViewNode *)subNode {
|
||||||
|
if (self.doricContext.destroyed) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (self.superNode
|
if (self.superNode
|
||||||
&& (self.view.doricLayout.widthSpec == DoricLayoutFit
|
&& (self.view.doricLayout.widthSpec == DoricLayoutFit
|
||||||
|| self.view.doricLayout.heightSpec == DoricLayoutFit)) {
|
|| self.view.doricLayout.heightSpec == DoricLayoutFit)) {
|
||||||
|
Reference in New Issue
Block a user