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 23:15:47 +0200
commit384681a936151eb575546e68915af6845af5441f (patch)
treeced8b3abbe26f51559f39f6c6cab8e277e9a6fb8
parentc85e7cbce01d655424906750aeb6288e3ecf586d (diff)
downloadqtlocation-mapboxgl-384681a936151eb575546e68915af6845af5441f.tar.gz
Add a changelog entry
-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