فهرست منبع

Change to ConcurrentQueue.

BDisp 9 ماه پیش
والد
کامیت
782325f6b7
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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 ();
 }