We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44e589 commit 1673f34Copy full SHA for 1673f34
ios/RCTARKit.m
@@ -22,6 +22,7 @@ @interface RCTARKit () <ARSCNViewDelegate, ARSessionDelegate, UIGestureRecognize
22
@end
23
24
25
+void dispatch_once_on_main_thread(dispatch_once_t *predicate,
26
dispatch_block_t block) {
27
if ([NSThread isMainThread]) {
28
dispatch_once(predicate, block);
0 commit comments