Clear route cache more gracefully to allow we based route connection to happen quick ish

This commit is contained in:
discountchubbs
2025-10-28 06:27:51 -07:00
parent 31a5a3b3c0
commit ca1ce9bcc9
+3 -3
View File
@@ -59,10 +59,10 @@ class Navigationd:
self.reroute_counter = 0
if self.cancel_route_counter == 30:
self.nav_instructions.clear_route_cache()
self.params.put('MapboxSettings', {"navData": {"current": {}, "route": {}}})
self.route = None
self.cancel_route_counter = 0
self.destination = None
self.nav_instructions.clear_route_cache()
self.route = None
self.valid = self.route is not None