spotify/cocoalibspotify — Issue #25: Recursive bug is recursive ;)
Author: sshrpe
Created: 2011-11-25 13:15:55+00:00
State: open

Another quick heads-up, -image and -setImage: both call themselves and cause infinite loops in the ARC branch of SPImage.m, from line 161:

```objc
-(SPPlatformNativeImage *)image {
if (self.spImage == nil && !hasRequestedImage)
[self beginLoading];
return self.image; //here
}

-(void)setImage:(SPPlatformNativeImage *)anImage {
if (self.image != anImage) {
self.image = anImage; //and here
}
}
```