Browse Source

Change to ConcurrentQueue.

BDisp 9 months ago
parent
commit
782325f6b7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Terminal.Gui/ConsoleDrivers/EscSeqUtils/EscSeqReq.cs

+ 3 - 1
Terminal.Gui/ConsoleDrivers/EscSeqUtils/EscSeqReq.cs

@@ -1,5 +1,7 @@
 #nullable enable
 
+using System.Collections.Concurrent;
+
 namespace Terminal.Gui;
 
 /// <summary>
@@ -95,5 +97,5 @@ public class EscSeqRequests
     }
 
     /// <summary>Gets the <see cref="EscSeqReqStatus"/> list.</summary>
-    public Queue<EscSeqReqStatus> Statuses { get; } = new ();
+    public ConcurrentQueue<EscSeqReqStatus> Statuses { get; } = new ();
 }