diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-02-25 12:44:44 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-02-25 23:15:47 +0200 |
commit | 3c05bd984ada9e146e614165f009b9b45fb05992 (patch) | |
tree | 32d3b5de83688e1f903096edc7a2058f5c796f5d /render-test | |
parent | ba315b4bbb5520cab5424c98d824013d6ff046fe (diff) | |
download | qtlocation-mapboxgl-3c05bd984ada9e146e614165f009b9b45fb05992.tar.gz |
[core] Fix offline region download freezing
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.
Diffstat (limited to 'render-test')
0 files changed, 0 insertions, 0 deletions