diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-02-27 11:46:17 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-03-05 17:43:37 +0200 |
commit | 81e116d41a4ea1e3ed0d5e91e06541c3e8855a09 (patch) | |
tree | 79cdee7e5a4ffda6fafcb9f4fce39b5b87682385 /test/style | |
parent | c5155dcf334a5c5125c065e4447cb8b30989e5e5 (diff) | |
download | qtlocation-mapboxgl-81e116d41a4ea1e3ed0d5e91e06541c3e8855a09.tar.gz |
[core] Use weak annotation manager
Map and renderer / orchestrator should be able to run on a separate threads,
however, legacy AnnotationManager is shared between Map and Renderer, therefore
is not a thread safe. Until AnnotationManager is deprecated and removed from a
code-base, use it only via weak pointers.
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/source.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp index dbc67681e9..37f87fb982 100644 --- a/test/style/source.test.cpp +++ b/test/style/source.test.cpp @@ -69,7 +69,7 @@ public: transformState, fileSource, mapMode, - annotationManager, + annotationManager.makeWeakPtr(), imageManager, glyphManager, 0}; |