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

Method enqueueViewToPool

valdi/src/valdi/runtime/Views/ViewFactory.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void ViewFactory::enqueueViewToPool(const Ref<View>& view) {
44 std::lock_guard<Mutex> lock(_mutex);
45 _pooledViews.emplace_back(view);
46}
47
48const StringBox& ViewFactory::getViewClassName() const {
49 return _viewClassName;

Callers 3

TEST_PFunction · 0.45
setViewMethod · 0.45
preloadNextMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.36