fix: Fixes libdeflate gc pin issue (#1794)
This commit is contained in:
parent
21347c8b6b
commit
21c5e46565
7 changed files with 8 additions and 15 deletions
|
|
@ -29,11 +29,7 @@ public class Accounts : GenericEntityPersistence<IAccount>
|
|||
|
||||
public static IEnumerable<IAccount> GetAccounts() => _accountsByName.Values;
|
||||
|
||||
public static IAccount GetAccount(string username)
|
||||
{
|
||||
_accountsByName.TryGetValue(username, out var a);
|
||||
return a;
|
||||
}
|
||||
public static IAccount GetAccount(string username) => _accountsByName.GetValueOrDefault(username);
|
||||
|
||||
public static void Add(Account a)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue