- Swap Queue to ConcurrentQueue
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<Project Sdk="Dalamud.NET.Sdk/14.0.1">
|
<Project Sdk="Dalamud.NET.Sdk/14.0.1">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>1.34.3</Version>
|
<Version>1.34.4</Version>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ public class FontManager
|
|||||||
private ushort[] Ranges;
|
private ushort[] Ranges;
|
||||||
private ushort[] JpRange;
|
private ushort[] JpRange;
|
||||||
|
|
||||||
|
|
||||||
public static readonly HashSet<float> AxisFontSizeList =
|
public static readonly HashSet<float> AxisFontSizeList =
|
||||||
[
|
[
|
||||||
9.6f, 10f, 12f, 14f, 16f,
|
9.6f, 10f, 12f, 14f, 16f,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using ChatTwo.Http.MessageProtocol;
|
using System.Collections.Concurrent;
|
||||||
|
using ChatTwo.Http.MessageProtocol;
|
||||||
using WatsonWebserver.Core;
|
using WatsonWebserver.Core;
|
||||||
|
|
||||||
namespace ChatTwo.Http;
|
namespace ChatTwo.Http;
|
||||||
@@ -9,7 +10,7 @@ public class SSEConnection
|
|||||||
private readonly CancellationToken Token;
|
private readonly CancellationToken Token;
|
||||||
|
|
||||||
public bool Done;
|
public bool Done;
|
||||||
public readonly Queue<BaseEvent> OutboundQueue = new();
|
public readonly ConcurrentQueue<BaseEvent> OutboundQueue = new();
|
||||||
|
|
||||||
public SSEConnection(CancellationToken token)
|
public SSEConnection(CancellationToken token)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user