MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getViewAndDisablePooling

Method getViewAndDisablePooling

valdi/src/valdi/runtime/Context/ViewNode.cpp:199–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198ViewNode::~ViewNode() {
199 _attributesApplier.destroy();
200 destroyYogaNode(_yogaNode);
201 _lazyLayoutData = nullptr;
202}
203
204void ViewNode::clear(ViewTransactionScope& viewTransactionScope) {
205 removeView(viewTransactionScope);
206 removeFromParent(viewTransactionScope);
207 setViewNodeTree(nullptr);
208 _viewFactory = nullptr;

Callers 4

getViewForIdFunction · 0.80
getViewForNodePathMethod · 0.80
getRootViewMethod · 0.80

Calls 1

setCanBeReusedMethod · 0.80

Tested by 1

getViewForIdFunction · 0.64