diff --git a/src/client/ios/BreakpadController.mm b/src/client/ios/BreakpadController.mm index 94d93d60..a85dd68e 100644 --- a/src/client/ios/BreakpadController.mm +++ b/src/client/ios/BreakpadController.mm @@ -309,10 +309,14 @@ NSString* GetPlatform() { } // A report must be sent later. - if (timeToWait > 0) - [self performSelector:@selector(sendStoredCrashReports) - withObject:nil - afterDelay:timeToWait]; + if (timeToWait > 0) { + // performSelector: doesn't work on queue_ + dispatch_async(dispatch_get_main_queue(), ^{ + [self performSelector:@selector(sendStoredCrashReports) + withObject:nil + afterDelay:timeToWait]; + }); + } }); }