林豪 左 3 سال پیش
والد
کامیت
c0d448cbe1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      WCS.Core/LogHelper.cs

+ 1 - 1
WCS.Core/LogHelper.cs

@@ -11,7 +11,7 @@ namespace WCS.Core
     /// </summary>
     public static class Ltc
     {
-        private static ConcurrentDictionary<Thread, string> Channels = new ConcurrentDictionary<Thread, string>();
+        private static readonly ConcurrentDictionary<Thread, string> Channels = new();
 
         public static void SetChannel(string channel)
         {