[Qt] Destroy the map object before the renderer frontend

The Map object will call the renderer frontend on its destructor.

Fixes #9535.
This commit is contained in:
Thiago Marcos P. Santos
2017-07-18 16:26:51 +03:00
parent 8deab57e17
commit 964287e5a4

View File

@@ -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 };