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

Method setRuntime

valdi/src/valdi/runtime/Context/ViewNodeTreeManager.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void ViewNodeTreeManager::setRuntime(std::weak_ptr<Runtime> runtime) {
87 auto lock = std::unique_lock<std::mutex>(_mutex);
88 _runtime = std::move(runtime);
89}
90
91std::vector<SharedViewNodeTree> ViewNodeTreeManager::getAllRootViewNodeTrees() const {
92 auto lock = std::unique_lock<std::mutex>(_mutex);

Callers 1

postInitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected