mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-14 22:29:26 +08:00
fix tests
This commit is contained in:
@@ -897,7 +897,7 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
|
||||
- (void)rangeController:(ASRangeController *)rangeController didMoveSection:(NSInteger)fromIndex toSection:(NSInteger)toIndex
|
||||
{
|
||||
ASDisplayNodeAssertMainThread();
|
||||
LOG(@"UITableView moveSection:%@", indexSet);
|
||||
LOG(@"UITableView moveSection:%@", fromIndex);
|
||||
|
||||
|
||||
if (!self.asyncDataSource) {
|
||||
|
||||
@@ -445,7 +445,7 @@ static void *kASSizingQueueContext = &kASSizingQueueContext;
|
||||
{
|
||||
_batchUpdateCounter--;
|
||||
|
||||
if (_batchUpdateCounter == 0 && _pendingEditCommandBlocks.count > 0) {
|
||||
if (_batchUpdateCounter == 0) {
|
||||
LOG(@"endUpdatesWithCompletion - beginning");
|
||||
|
||||
[_editingTransactionQueue waitUntilAllOperationsAreFinished];
|
||||
|
||||
Reference in New Issue
Block a user