Skip to content

Commit

Permalink
fix: use proper string comparison on reset
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Sep 17, 2024
1 parent 9ab087f commit 9d70575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CommonLib/LdapUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1051,9 +1051,9 @@ public void SetLdapConfig(LdapConfig config) {
}

public void ResetUtils() {
_unresolvablePrincipals = new ConcurrentHashSet();
_unresolvablePrincipals = new ConcurrentHashSet(StringComparer.OrdinalIgnoreCase);
_domainCache = new ConcurrentDictionary<string, Domain>();
_domainControllers = new ConcurrentHashSet();
_domainControllers = new ConcurrentHashSet(StringComparer.OrdinalIgnoreCase);
_connectionPool?.Dispose();
_connectionPool = new ConnectionPoolManager(_ldapConfig, scanner: _portScanner);
}
Expand Down

0 comments on commit 9d70575

Please sign in to comment.