Skip to content

Commit 3effadd

Browse files
committedApr 10, 2023
Don't leave auth method registry in illdefined state after calling clean
1 parent afe7a75 commit 3effadd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/auth/qgsauthmethodregistry.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ void QgsAuthMethodRegistry::clean()
217217
delete it->second;
218218
++it;
219219
}
220+
221+
mAuthMethods.clear();
220222
}
221223

222224

0 commit comments

Comments
 (0)
Please sign in to comment.