Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 15826b5

Browse files
author
Scott Goodson
committed
Remove extra logging for build server debugging.
1 parent 8b3f335 commit 15826b5

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

AsyncDisplayKit/ASCollectionView.mm

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,8 @@ - (void)dealloc
184184
{
185185
// Sometimes the UIKit classes can call back to their delegate even during deallocation, due to animation completion blocks etc.
186186
_isDeallocating = YES;
187-
NSLog(@"before dealloc - delegate - %@, datasource - %@, proxyDelegate - %@, proxyDatasource - %@", self.asyncDelegate, self.asyncDataSource, _proxyDelegate, _proxyDataSource);
188187
[self setAsyncDelegate:nil];
189188
[self setAsyncDataSource:nil];
190-
NSLog(@"after dealloc - delegate - %@, datasource - %@, proxyDelegate - %@, proxyDatasource - %@", self.asyncDelegate, self.asyncDataSource, _proxyDelegate, _proxyDataSource);
191189
}
192190

193191
/**
@@ -269,8 +267,6 @@ - (void)setAsyncDataSource:(id<ASCollectionViewDataSource>)asyncDataSource
269267
_asyncDataSourceImplementsConstrainedSizeForNode = ([_asyncDataSource respondsToSelector:@selector(collectionView:constrainedSizeForNodeAtIndexPath:)] ? 1 : 0);
270268
}
271269

272-
NSLog(@"setAsyncDataSource - %@, proxy - %@, deallocating - %d", asyncDataSource, _proxyDataSource, _isDeallocating);
273-
274270
super.dataSource = (id<UICollectionViewDataSource>)_proxyDataSource;
275271
}
276272

@@ -295,9 +291,7 @@ - (void)setAsyncDelegate:(id<ASCollectionViewDelegate>)asyncDelegate
295291
_proxyDelegate = [[ASCollectionViewProxy alloc] initWithTarget:_asyncDelegate interceptor:self];
296292
_asyncDelegateImplementsInsetSection = ([_asyncDelegate respondsToSelector:@selector(collectionView:layout:insetForSectionAtIndex:)] ? 1 : 0);
297293
}
298-
299-
NSLog(@"setAsyncDelegate - %@, proxy - %@, deallocating - %d", asyncDelegate, _proxyDelegate, _isDeallocating);
300-
294+
301295
super.delegate = (id<UICollectionViewDelegate>)_proxyDelegate;
302296

303297
[_layoutInspector didChangeCollectionViewDelegate:asyncDelegate];

0 commit comments

Comments
 (0)