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

Method destroyAllContexts

valdi/src/valdi/runtime/Context/ContextManager.cpp:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void ContextManager::destroyAllContexts() {
117 auto contexts = getAllContexts();
118 for (const auto& context : contexts) {
119 destroyContext(context);
120 }
121}
122
123SharedContext ContextManager::lockFreeGetContext(ContextId contextId) const {
124 auto it = _contextById.find(contextId);

Callers 1

fullTeardownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected