We can save some excessive memory I guess
This commit is contained in:
Archi 2023-01-12 11:47:45 +01:00
parent 8cc705feff
commit 84be0f8077
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -337,10 +337,12 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
AnnouncedItems[item.AssetID] = item.Amount;
}
Bot.ArchiLogger.LogGenericInfo(Strings.Success);
AnnouncedItems.TrimExcess();
} finally {
RequestsSemaphore.Release();
}
Bot.ArchiLogger.LogGenericInfo(Strings.Success);
}
internal void TriggerMatchActivelyEarlier() {