summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/location/maps/qgeotiledmappingmanagerengine.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/location/maps/qgeotiledmappingmanagerengine.cpp b/src/location/maps/qgeotiledmappingmanagerengine.cpp
index 5133a77c..653b30e1 100644
--- a/src/location/maps/qgeotiledmappingmanagerengine.cpp
+++ b/src/location/maps/qgeotiledmappingmanagerengine.cpp
@@ -329,12 +329,13 @@ QGeoTiledMappingManagerEnginePrivate::~QGeoTiledMappingManagerEnginePrivate()
{
delete tileCache_;
- // will delete fetcher and thread later
- thread_->exit();
-
// but we still want to stop the fetcher's timer immediately
fetcher_->stopTimer();
+
+ // will delete fetcher and thread later
+ thread_->exit();
}
+
#include "moc_qgeotiledmappingmanagerengine.cpp"
QT_END_NAMESPACE