From 13d22fbfedfcebb11c3c2384b704a266d26f58a5 Mon Sep 17 00:00:00 2001 From: Maxime Ollivier Date: Fri, 19 Oct 2018 10:48:13 -0700 Subject: [PATCH] clean commented out code Summary: * Removed comments Reviewed By: lorixx Differential Revision: D10453000 fbshipit-source-id: 02fb93eb7ad5c3122c2bc1b2722cc8c25dc12d84 --- Source/IGListAdapterUpdater.m | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/IGListAdapterUpdater.m b/Source/IGListAdapterUpdater.m index 6166ca2f..e6e00ce2 100644 --- a/Source/IGListAdapterUpdater.m +++ b/Source/IGListAdapterUpdater.m @@ -409,14 +409,7 @@ static NSArray *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(), ^{