瀏覽代碼

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

Fix iOS Hang by Using Proper Method Queue
Gaëtan Renaudeau 8 年之前
父節點
當前提交
0b0699139e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      ios/RNViewShot.m

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

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