- More ImRaii

- Cleanup
- Spanish, French, Dutch, Chinese loc update
This commit is contained in:
Infi
2024-11-21 11:58:22 +01:00
parent 1a1995759a
commit 3cfe65d2d4
23 changed files with 283 additions and 332 deletions
+1 -5
View File
@@ -103,12 +103,8 @@ internal class MessageManager : IAsyncDisposable
LastContentId = contentId;
// Drain the PendingSync queue into the PendingAsync queue.
while (true)
{
if (!PendingSync.TryDequeue(out var pending))
return;
while (PendingSync.TryDequeue(out var pending))
PendingAsync.Enqueue(pending);
}
}
private void ProcessPendingMessages(CancellationToken token)