File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1177,6 +1177,8 @@ QgsAuthManager *QgsApplication::authManager()
1177
1177
1178
1178
void QgsApplication::exitQgis ()
1179
1179
{
1180
+ delete QgsApplication::authManager ();
1181
+
1180
1182
// Ensure that all remaining deleteLater QObjects are actually deleted before we exit.
1181
1183
// This isn't strictly necessary (since we're exiting anyway) but doing so prevents a lot of
1182
1184
// LeakSanitiser noise which hides real issues
@@ -1189,8 +1191,6 @@ void QgsApplication::exitQgis()
1189
1191
1190
1192
delete QgsProviderRegistry::instance ();
1191
1193
1192
- delete QgsApplication::authManager ();
1193
-
1194
1194
// invalidate coordinate cache while the PROJ context held by the thread-locale
1195
1195
// QgsProjContextStore object is still alive. Otherwise if this later object
1196
1196
// 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