clean commented out code

Summary: * Removed comments

Reviewed By: lorixx

Differential Revision: D10453000

fbshipit-source-id: 02fb93eb7ad5c3122c2bc1b2722cc8c25dc12d84
This commit is contained in:
Maxime Ollivier 2018-10-19 10:48:13 -07:00 committed by Facebook Github Bot
parent ffb37d6826
commit 13d22fbfed

View file

@ -409,14 +409,7 @@ static NSArray<NSIndexPath *> *convertSectionReloadToItemUpdates(NSIndexSet *sec
- (void)_queueUpdateWithCollectionViewBlock:(IGListCollectionViewBlock)collectionViewBlock {
IGAssertMainThread();
// callers may hold weak refs and lose the collection view by the time we requeue, bail if that's the case
// if (collectionView == nil) {
// return;
// }
__weak __typeof__(self) weakSelf = self;
// __weak __typeof__(collectionView) weakCollectionView = collectionView;
// dispatch after a given amount of time to coalesce other updates and execute as one
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, self.coalescanceTime * NSEC_PER_SEC), dispatch_get_main_queue(), ^{