Skip to content

Commit 94b0bd7

Browse files
committed
Do not use main queue for ios
1 parent 33a5e6c commit 94b0bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNSentry.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ @implementation RNSentry
1919

2020
- (dispatch_queue_t)methodQueue
2121
{
22-
return dispatch_get_main_queue();
22+
return dispatch_queue_create("io.sentry.RNSentry", DISPATCH_QUEUE_SERIAL);
2323
}
2424

2525
+ (void)installWithBridge:(RCTBridge *)bridge {

0 commit comments

Comments
 (0)