summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-11-26 14:51:15 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-11-26 15:13:14 -0800
commit78f11ae94768cc1d73df07b63a9edf7a54db2941 (patch)
tree25f1cda2aed072e64794a6830c8f423cb5a3f042 /src
parentfdc988a4a01018231044208b7e36fdcac80eea9a (diff)
downloadqtlocation-mapboxgl-78f11ae94768cc1d73df07b63a9edf7a54db2941.tar.gz
Fix destruction order
Diffstat (limited to 'src')
-rw-r--r--src/map/map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index 0298a513e1..22eb0de69f 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -114,10 +114,11 @@ Map::~Map() {
}
// Explicitly reset all pointers.
- texturepool.reset();
+ activeSources.clear();
sprite.reset();
glyphStore.reset();
style.reset();
+ texturepool.reset();
fileSource.reset();
workers.reset();