From 964287e5a4f93284b5b1e22da69ffc7c53e3e41f Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Tue, 18 Jul 2017 16:26:51 +0300 Subject: [Qt] Destroy the map object before the renderer frontend The Map object will call the renderer frontend on its destructor. Fixes #9535. --- platform/qt/src/qmapboxgl_p.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform') 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 fileSourceObj; std::shared_ptr threadPool; - std::unique_ptr mapObj; std::unique_ptr frontend; + std::unique_ptr mapObj; bool dirty { false }; -- cgit v1.2.1