Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2014-10-21 16:18:34 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:31:13 +0300
commitc121806b75602bab6ff595e0f6878bec84801bf2 (patch)
tree7cc715460e643e846946e43fafc13b95cd08b3e8 /map/location_state.cpp
parent5ab04ee4309d0ec7b7df4e322f3ed61b28820419 (diff)
[core] bug fix
Diffstat (limited to 'map/location_state.cpp')
-rw-r--r--map/location_state.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/map/location_state.cpp b/map/location_state.cpp
index bfd0360c86..3780949982 100644
--- a/map/location_state.cpp
+++ b/map/location_state.cpp
@@ -204,6 +204,12 @@ private:
return true;
}
+ if (task->IsEnded())
+ {
+ task->OnEnd(ts);
+ return true;
+ }
+
return false;
}