Switch to .net method for endian swap

This commit is contained in:
Infi
2024-05-03 19:37:39 +02:00
parent 2e1e54b395
commit 8709c35ff1
2 changed files with 8 additions and 8 deletions
+4
View File
@@ -92,6 +92,7 @@ internal class MessageManager : IAsyncDisposable
while (!token.IsCancellationRequested)
{
if (Pending.TryDequeue(out var pendingMessage))
{
try
{
ProcessMessage(pendingMessage);
@@ -100,8 +101,11 @@ internal class MessageManager : IAsyncDisposable
{
Plugin.Log.Error(ex, "Error processing pending message");
}
}
else
{
Thread.Sleep(1);
}
}
}