Explorar el Código

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

Fix iOS Hang by Using Proper Method Queue
Gaëtan Renaudeau hace 7 años
padre
commit
0b0699139e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      ios/RNViewShot.m

+ 1
- 1
ios/RNViewShot.m Ver fichero

@@ -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