From bd0f50ef2571f67da498e03ebe1711a8b7cbfe49 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Tue, 25 Feb 2020 18:11:58 +0200 Subject: Add a changelog entry --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b412594d49..85a05227e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## master +### 🐞 Bug fixes + +- [core] Fix offline region download freezing ([#16230](https://github.com/mapbox/mapbox-gl-native/pull/16230)) + + Downloaded resources are put in the buffer and inserted in the database in batches. + + Before this change, the buffer was flushed only at the network response callback and thus it never got flushed if the last required resources were present locally and did not initiate network requests - it caused freezing. + + Now the buffer is flushed every time the remaining resources container gets empty. + ## maps-v1.2.0 (2020.02-release-vanillashake) ### ✨ New features -- cgit v1.2.1