Remove the owner check and hope that our crash goes away
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user