diff --git a/Limelight/Network/AppAssetRetriever.m b/Limelight/Network/AppAssetRetriever.m index 58cef23..1fe102c 100644 --- a/Limelight/Network/AppAssetRetriever.m +++ b/Limelight/Network/AppAssetRetriever.m @@ -28,7 +28,9 @@ static const int MAX_ATTEMPTS = 5; appImage = [UIImage imageWithData:appAssetResp.data]; self.app.image = UIImagePNGRepresentation(appImage); - [NSThread sleepForTimeInterval:RETRY_DELAY]; + if (![self isCancelled] && appImage == nil) { + [NSThread sleepForTimeInterval:RETRY_DELAY]; + } } [self performSelectorOnMainThread:@selector(sendCallbackForApp:) withObject:self.app waitUntilDone:NO]; }