prevent yoga double free
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-09-02 10:55:33 -04:00
parent a7164a5084
commit c5f42622cd

View File

@ -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;
}
}