Free GCHandle

This commit is contained in:
Kazuki Sakamoto
2017-02-10 14:51:38 -08:00
parent 376ab71bb0
commit 1ceffea28e
3 changed files with 41 additions and 31 deletions

View File

@@ -365,6 +365,7 @@ namespace Facebook.Yoga
child = null;
}
#if !__IOS__
[Test]
public void TestParentDestructor()
{
@@ -386,6 +387,7 @@ namespace Facebook.Yoga
Assert.AreEqual(instanceCount + 1, YogaNode.GetInstanceCount());
parent.Insert(0, child);
}
#endif
[Test]
public void TestClearWithChildDestructor()