Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Nilling out the delegate to avoid crashes in tables with EGOImageView…

…s in each cell in circumstances of slow connections where the view controller with the table could be deallocated and notified afterwards about images that finished downloading.
  • Loading branch information...
commit 7c4be60db5cfdafc733d2d8b7acb27809991464a 1 parent 9a3fa6b
@JaviSoto JaviSoto authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  EGOImageView/EGOImageView.m
1  EGOImageView/EGOImageView.m
@@ -104,6 +104,7 @@ - (void)imageLoaderDidFailToLoad:(NSNotification*)notification {
#pragma mark -
- (void)dealloc {
[[EGOImageLoader sharedImageLoader] removeObserver:self];
+ self.delegate = nil;
self.imageURL = nil;
self.placeholderImage = nil;
[super dealloc];
Please sign in to comment.
Something went wrong with that request. Please try again.