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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
<ProjectReference Include="..\Server\Server.csproj" Private="false" PrivateAssets="All" IncludeAssets="None">
|
||||
<IncludeInPackage>false</IncludeInPackage>
|
||||
</ProjectReference>
|
||||
<PackageReference Include="LibDeflate.Bindings" Version="1.0.1.120" />
|
||||
<PackageReference Include="LibDeflate.Bindings" Version="1.0.2.120" />
|
||||
<PackageReference Include="MailKit" Version="4.6.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0" />
|
||||
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.2.2" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue