File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1177,6 +1177,8 @@ QgsAuthManager *QgsApplication::authManager()
11771177
11781178void QgsApplication::exitQgis ()
11791179{
1180+ delete QgsApplication::authManager ();
1181+
11801182 // Ensure that all remaining deleteLater QObjects are actually deleted before we exit.
11811183 // This isn't strictly necessary (since we're exiting anyway) but doing so prevents a lot of
11821184 // LeakSanitiser noise which hides real issues
@@ -1189,8 +1191,6 @@ void QgsApplication::exitQgis()
11891191
11901192 delete QgsProviderRegistry::instance ();
11911193
1192- delete QgsApplication::authManager ();
1193-
11941194 // invalidate coordinate cache while the PROJ context held by the thread-locale
11951195 // QgsProjContextStore object is still alive. Otherwise if this later object
11961196 // is destroyed before the static variables of the cache, we might use freed memory.
You can’t perform that action at this time.
0 commit comments