Remove the owner check and hope that our crash goes away

This commit is contained in:
Sam Mueller
2020-07-12 01:22:43 -07:00
parent 84866da288
commit 4da88d252e

View File

@@ -385,10 +385,6 @@ void YGNodeInsertChild(
const YGNodeRef node, const YGNodeRef node,
const YGNodeRef child, const YGNodeRef child,
const uint32_t index) { const uint32_t index) {
YGAssertWithNode(
node,
child->getOwner() == nullptr,
"Child already has a owner, it must be removed first.");
YGAssertWithNode( YGAssertWithNode(
node, node,