MCPcopy Create free account
hub / github.com/78/tenbox / FindSession

Method FindSession

src/daemon/runtime_manager.cpp:1599–1603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599std::shared_ptr<RuntimeManager::RuntimeSession> RuntimeManager::FindSession(const std::string& vm_id) const {
1600 std::lock_guard<std::mutex> lock(mutex_);
1601 auto it = sessions_.find(vm_id);
1602 return it == sessions_.end() ? nullptr : it->second;
1603}
1604
1605} // namespace tenbox::daemon

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected