mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 14:54:58 +08:00
Introduce cloning mechanism for React Shadow Node
Reviewed By: achen1 Differential Revision: D7018869 fbshipit-source-id: beca45b1df9602ebbc9172091b24a2bf44e103f4
This commit is contained in:
committed by
Facebook Github Bot
parent
9dd7608c97
commit
ad06403c3e
@@ -20,7 +20,7 @@ public class YogaNodePool {
|
||||
|
||||
synchronized (sInitLock) {
|
||||
if (sPool == null) {
|
||||
sPool = new ClearableSynchronizedPool<YogaNode>(1024);
|
||||
sPool = new ClearableSynchronizedPool<>(1024);
|
||||
}
|
||||
return sPool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user