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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-01-31 17:32:11 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-01-31 18:01:35 +0300
commit00a8a5634e49a61bd62744607710474747a38462 (patch)
treefb3716f69f32b209b24ab24ef227193e06d05c2f /drape/batcher.cpp
parent23a239adcad5e3a7d76b462de3b8ba4dd522e836 (diff)
Fixed traffic recovering after receiving a response in background.
Diffstat (limited to 'drape/batcher.cpp')
-rw-r--r--drape/batcher.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/drape/batcher.cpp b/drape/batcher.cpp
index 1f4cdc1ea9..aa7a67e670 100644
--- a/drape/batcher.cpp
+++ b/drape/batcher.cpp
@@ -196,6 +196,12 @@ void Batcher::EndSession()
m_flushInterface = TFlushFn();
}
+void Batcher::ResetSession()
+{
+ m_flushInterface = TFlushFn();
+ m_buckets.clear();
+}
+
void Batcher::SetFeatureMinZoom(int minZoom)
{
m_featureMinZoom = minZoom;