summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-02-25 18:11:58 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-02-25 18:11:58 +0200
commitbd0f50ef2571f67da498e03ebe1711a8b7cbfe49 (patch)
tree52736b8ba2a262477c4a4111e5b5b6222834dde8
parenteff8c6ed0dc9c4ef3f17400077f5d9fba3d09c0e (diff)
downloadqtlocation-mapboxgl-upstream/mikhail_fix_offline_download_freezing.tar.gz
-rw-r--r--CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
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