MCPcopy Create free account
hub / github.com/Snapchat/Valdi / ~ViewManagerContext

Method ~ViewManagerContext

valdi/src/valdi/runtime/Context/ViewManagerContext.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34 _globalViewFactories = Valdi::makeShared<GlobalViewFactories>(_attributesManager);
35
36 if (enablePreloading) {
37 _viewPreloader = Valdi::makeShared<ViewPreloader>(_globalViewFactories, *mainThreadManager, logger);
38 }
39}
40
41ViewManagerContext::~ViewManagerContext() {
42 if (_viewPreloader != nullptr) {

Callers

nothing calls this directly

Calls 1

stopPreloadMethod · 0.80

Tested by

no test coverage detected