瀏覽代碼

Merge pull request #72 from Vydia/use-correct-method-queue

Fix iOS Hang by Using Proper Method Queue
Gaëtan Renaudeau 7 年之前
父節點
當前提交
0b0699139e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      ios/RNViewShot.m

+ 1
- 1
ios/RNViewShot.m 查看文件

@@ -18,7 +18,7 @@ RCT_EXPORT_MODULE()
18 18
 
19 19
 - (dispatch_queue_t)methodQueue
20 20
 {
21
-  return self.bridge.uiManager.methodQueue;
21
+  return RCTGetUIManagerQueue();
22 22
 }
23 23
 
24 24
 - (NSDictionary *)constantsToExport