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

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() {