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 @@ -1169,6 +1169,8 @@ QgsAuthManager *QgsApplication::authManager()
1169
1169
1170
1170
void QgsApplication::exitQgis ()
1171
1171
{
1172
+ delete QgsApplication::authManager ();
1173
+
1172
1174
// Ensure that all remaining deleteLater QObjects are actually deleted before we exit.
1173
1175
// This isn't strictly necessary (since we're exiting anyway) but doing so prevents a lot of
1174
1176
// LeakSanitiser noise which hides real issues
@@ -1181,8 +1183,6 @@ void QgsApplication::exitQgis()
1181
1183
1182
1184
delete QgsProviderRegistry::instance ();
1183
1185
1184
- delete QgsApplication::authManager ();
1185
-
1186
1186
// invalidate coordinate cache while the PROJ context held by the thread-locale
1187
1187
// QgsProjContextStore object is still alive. Otherwise if this later object
1188
1188
// 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