Merge branch 'charlesmchen/cloudKitNotificationThreadSafety'

pull/1/head
Matthew Chen 6 years ago
commit 6f6ce86abd

@ -567,11 +567,11 @@ NSError *OWSBackupErrorWithDescription(NSString *description)
- (void)ckAccountChanged
{
OWSAssertIsOnMainThread();
[self ensureBackupExportState];
[self postDidChangeNotification];
dispatch_async(dispatch_get_main_queue(), ^{
[self ensureBackupExportState];
[self postDidChangeNotification];
});
}
#pragma mark - OWSBackupJobDelegate

Loading…
Cancel
Save