| 37 | } |
| 38 | |
| 39 | void AsyncRouter::RouterDelegateProxy::OnReady(std::shared_ptr<Route> route, RouterResultCode resultCode) |
| 40 | { |
| 41 | if (!m_onReadyOwnership) |
| 42 | return; |
| 43 | { |
| 44 | lock_guard l(m_guard); |
| 45 | if (m_delegate.IsCancelled()) |
| 46 | return; |
| 47 | } |
| 48 | m_onReadyOwnership(std::move(route), resultCode); |
| 49 | } |
| 50 | |
| 51 | void AsyncRouter::RouterDelegateProxy::OnNeedMoreMaps(uint64_t routeId, std::set<std::string> const & absentCounties) |
| 52 | { |
no test coverage detected