Skip to content

Commit 0b06991

Browse files
authored
Merge pull request #72 from Vydia/use-correct-method-queue
Fix iOS Hang by Using Proper Method Queue
2 parents c421819 + d965568 commit 0b06991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNViewShot.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ @implementation RNViewShot
1818

1919
- (dispatch_queue_t)methodQueue
2020
{
21-
return self.bridge.uiManager.methodQueue;
21+
return RCTGetUIManagerQueue();
2222
}
2323

2424
- (NSDictionary *)constantsToExport

0 commit comments

Comments
 (0)