prevent yoga double free
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
a7164a5084
commit
c5f42622cd
@ -242,6 +242,7 @@ public class StandardContainerElement extends StandardElement implements Contain
|
||||
}
|
||||
if(this.yogaNode != Element.NULL_YOGA_ELEMENT){
|
||||
Yoga.YGNodeFree(this.yogaNode);
|
||||
this.yogaNode = Element.NULL_YOGA_ELEMENT;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user