Delegate main-thread activity on the main thread.
This commit is contained in:
		@@ -699,8 +699,10 @@ referenceSizeForFooterInSection:(NSInteger)section {
 | 
				
			|||||||
            } );
 | 
					            } );
 | 
				
			||||||
    PearlAddNotificationObserver( NSPersistentStoreCoordinatorStoresDidChangeNotification, [MPiOSAppDelegate get].storeCoordinator, nil,
 | 
					    PearlAddNotificationObserver( NSPersistentStoreCoordinatorStoresDidChangeNotification, [MPiOSAppDelegate get].storeCoordinator, nil,
 | 
				
			||||||
            ^(MPUsersViewController *self, NSNotification *note) {
 | 
					            ^(MPUsersViewController *self, NSNotification *note) {
 | 
				
			||||||
                [self registerObservers];
 | 
					                PearlMainQueue( ^{
 | 
				
			||||||
                [self reloadUsers];
 | 
					                    [self registerObservers];
 | 
				
			||||||
 | 
					                    [self reloadUsers];
 | 
				
			||||||
 | 
					                } );
 | 
				
			||||||
            } );
 | 
					            } );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user