| 1597 | } |
| 1598 | |
| 1599 | std::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 |
nothing calls this directly
no outgoing calls
no test coverage detected