Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in SDWebImageManager imageDownloader:didFinishWithImage: #68

Closed
chrismcb opened this issue Feb 10, 2012 · 1 comment
Closed

Crash in SDWebImageManager imageDownloader:didFinishWithImage: #68

chrismcb opened this issue Feb 10, 2012 · 1 comment

Comments

@chrismcb
Copy link

We recently released our app to the appstore, and almost immediately got a few crashes in SDWebImageManager imageDownloader:didFinishWithImage:
The top of the stacks look like:

0 libobjc.A.dylib 0x33c28c98 objc_msgSend + 16
1 CoreFoundation 0x308f0571 -[NSObject(NSObject) performSelector:withObject:withObject:] + 25
2 Ourcode 0x0001d98f -SDWebImageManager imageDownloader:didFinishWithImage:
3 CoreFoundation 0x308f0571 -[NSObject(NSObject) performSelector:withObject:withObject:] + 25
4 Ourcode 0x0001cb03 -SDWebImageDownloader connectionDidFinishLoading:

We have the recent code that does a retain on the delegate inside this function.
As long as our delegate is created properly, I don't see how we get into this situation

@rs
Copy link
Member

rs commented Mar 10, 2012

Please ensure the delegate property is correctly set to nil in the dealloc of the delegated object.

@rs rs closed this as completed Mar 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants