Reset java state in jni reset method

Differential Revision: D4081049

fbshipit-source-id: 0b9ad70339ad906ad5219ad2679329cfe2fd7abc
This commit is contained in:
Emil Sjolander 2016-10-26 07:24:44 -07:00 committed by Facebook Github Bot
parent c67225818d
commit d8e77f0c76
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
mHasSetMargin = false;
mHasSetBorder = false;
mHasSetPosition = false;
mMeasureFunction = null;
mData = null;
jni_CSSNodeReset(mNativePointer);
}