mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +08:00
Reset java state in jni reset method
Differential Revision: D4081049 fbshipit-source-id: 0b9ad70339ad906ad5219ad2679329cfe2fd7abc
This commit is contained in:
committed by
Facebook Github Bot
parent
c67225818d
commit
d8e77f0c76
@@ -72,6 +72,10 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
|
||||
mHasSetMargin = false;
|
||||
mHasSetBorder = false;
|
||||
mHasSetPosition = false;
|
||||
|
||||
mMeasureFunction = null;
|
||||
mData = null;
|
||||
|
||||
jni_CSSNodeReset(mNativePointer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user