Fix memory func test
Summary: Reset gNodeInstanceCount before memory func test. Reviewed By: emilsjolander Differential Revision: D4193712 fbshipit-source-id: a4aba84d054d98a7baf438e213a90bd7ef34e979
This commit is contained in:
committed by
Facebook Github Bot
parent
56aa279fef
commit
b9c4c403a9
@@ -180,7 +180,7 @@ static inline float computedEdgeValue(const float edges[CSSEdgeCount],
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
static int32_t gNodeInstanceCount = 0;
|
||||
int32_t gNodeInstanceCount = 0;
|
||||
|
||||
CSSNodeRef CSSNodeNew(void) {
|
||||
const CSSNodeRef node = gCSSCalloc(1, sizeof(CSSNode));
|
||||
|
Reference in New Issue
Block a user