- Swap Queue to ConcurrentQueue

This commit is contained in:
Infi
2026-03-22 15:03:37 +01:00
parent 4341035c74
commit 9f7a6267f6
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<Project Sdk="Dalamud.NET.Sdk/14.0.1">
<PropertyGroup>
<Version>1.34.3</Version>
<Version>1.34.4</Version>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-1
View File
@@ -21,7 +21,6 @@ public class FontManager
private ushort[] Ranges;
private ushort[] JpRange;
public static readonly HashSet<float> AxisFontSizeList =
[
9.6f, 10f, 12f, 14f, 16f,
+3 -2
View File
@@ -1,4 +1,5 @@
using ChatTwo.Http.MessageProtocol;
using System.Collections.Concurrent;
using ChatTwo.Http.MessageProtocol;
using WatsonWebserver.Core;
namespace ChatTwo.Http;
@@ -9,7 +10,7 @@ public class SSEConnection
private readonly CancellationToken Token;
public bool Done;
public readonly Queue<BaseEvent> OutboundQueue = new();
public readonly ConcurrentQueue<BaseEvent> OutboundQueue = new();
public SSEConnection(CancellationToken token)
{