diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-07-18 16:26:51 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-07-18 17:53:08 +0300 |
commit | 964287e5a4f93284b5b1e22da69ffc7c53e3e41f (patch) | |
tree | f598e1095729b2d31e825f3b4adfd4af912d017a | |
parent | 8deab57e17fd033c2cbb494ec68252699062e510 (diff) | |
download | qtlocation-mapboxgl-964287e5a4f93284b5b1e22da69ffc7c53e3e41f.tar.gz |
[Qt] Destroy the map object before the renderer frontend
The Map object will call the renderer frontend on its destructor.
Fixes #9535.
-rw-r--r-- | platform/qt/src/qmapboxgl_p.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/qt/src/qmapboxgl_p.hpp b/platform/qt/src/qmapboxgl_p.hpp index 3afd299067..e7eb1c2c2b 100644 --- a/platform/qt/src/qmapboxgl_p.hpp +++ b/platform/qt/src/qmapboxgl_p.hpp @@ -58,8 +58,8 @@ public: std::shared_ptr<mbgl::DefaultFileSource> fileSourceObj; std::shared_ptr<mbgl::ThreadPool> threadPool; - std::unique_ptr<mbgl::Map> mapObj; std::unique_ptr<QMapboxGLRendererFrontend> frontend; + std::unique_ptr<mbgl::Map> mapObj; bool dirty { false }; |