瀏覽代碼

fix: priority inversion issue in GrowingSRWebSocket by Xcode14 #252

桂欢 1 年之前
父節點
當前提交
0dac915511
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SLAiELTS/Pods/SocketRocket/SocketRocket/Internal/RunLoop/SRRunLoopThread.m

+ 1 - 0
SLAiELTS/Pods/SocketRocket/SocketRocket/Internal/RunLoop/SRRunLoopThread.m

@@ -29,6 +29,7 @@
     dispatch_once(&onceToken, ^{
         thread = [[SRRunLoopThread alloc] init];
         thread.name = @"com.facebook.SocketRocket.NetworkThread";
+        thread.qualityOfService = NSQualityOfServiceUserInitiated;
         [thread start];
     });
     return thread;