From 39a578fa9f0c5a77a33ee625c82ebea0e6d4e314 Mon Sep 17 00:00:00 2001 From: Mikhail Gorbushin Date: Fri, 23 Aug 2019 12:47:31 +0300 Subject: [PATCH] [routing] Fix debug code --- routing/async_router.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/async_router.cpp b/routing/async_router.cpp index 49d6110789..4b47277184 100644 --- a/routing/async_router.cpp +++ b/routing/async_router.cpp @@ -157,7 +157,7 @@ void AsyncRouter::RouterDelegateProxy::OnPointCheck(m2::PointD const & pt) lock_guard l(m_guard); CHECK(m_onPointCheck, ()); - if (m_delegateProxy.IsCancelled()) + if (m_delegate.IsCancelled()) return; onPointCheck = m_onPointCheck;