diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-07-27 18:47:55 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:58:38 +0300 |
commit | d1ae0db8ef5fda5cb2f493cbee2871a47624e441 (patch) | |
tree | 571b415644cab509b3cac90623dc12b0fdcff5fc /routing/routing_session.hpp | |
parent | c0c6e243635fbb9cf8b3c5b33e6139fa969ad1f0 (diff) |
Switch routing timeout checking from thread to observer.
Diffstat (limited to 'routing/routing_session.hpp')
-rw-r--r-- | routing/routing_session.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/routing/routing_session.hpp b/routing/routing_session.hpp index 9c8973541d..a513854b94 100644 --- a/routing/routing_session.hpp +++ b/routing/routing_session.hpp @@ -126,9 +126,6 @@ private: void RemoveRoute(); void RemoveRouteImpl(); - void ResetRoutingWatchdogTimer(); - void InitRoutingWatchdogTimer(uint32_t timeoutSec); - private: unique_ptr<AsyncRouter> m_router; Route m_route; @@ -146,8 +143,5 @@ private: turns::sound::TurnsSound m_turnsSound; RoutingSettings m_routingSettings; - - // Watchdog cancels routing if it takes too long time - unique_ptr<DeferredTask> m_routingWatchdog; }; } // namespace routing |