Merge branch 'charlesmchen/cloudKitNotificationThreadSafety'
This commit is contained in:
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…
Reference in New Issue
Block a user