Browse Source

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

Fix iOS Hang by Using Proper Method Queue
Gaëtan Renaudeau 8 years ago
parent
commit
0b0699139e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/RNViewShot.m

+ 1
- 1
ios/RNViewShot.m View File

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