summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layers/symbol_layer.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-08-25 17:55:32 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-08-28 13:16:27 +0200
commitc6ab20e5c69c3705422e49c3511faf3e5ab79b05 (patch)
treef13252fe1b5d7236f4040c8a812ab00f5c6908db /include/mbgl/style/layers/symbol_layer.hpp
parent6cbeeff6898211d3c3955e34503358e8b2ee127b (diff)
downloadqtlocation-mapboxgl-c6ab20e5c69c3705422e49c3511faf3e5ab79b05.tar.gz
[core] initialize OfflineDatabase asynchronously in DefaultFileSource
Sometimes, initialization can take hundreds of milliseconds, in particular when the database doesn't exist yet, or when the app/device is doing a lot of I/O already. Instead of synchronously initializing the OfflineDatabase objects, we're now asynchronously initializing the object through a self-sent message that by virtue of being the first message for this actor guarantees that the object is there when it's needed by other member functions.
Diffstat (limited to 'include/mbgl/style/layers/symbol_layer.hpp')
0 files changed, 0 insertions, 0 deletions