...
|
...
|
@@ -57,8 +57,8 @@ static char imageURLStorageKey; |
|
|
[self.imageURLStorage removeObjectForKey:@(state)];
|
|
|
|
|
|
dispatch_main_async_safe(^{
|
|
|
NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}];
|
|
|
if (completedBlock) {
|
|
|
NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}];
|
|
|
completedBlock(nil, error, SDImageCacheTypeNone, url);
|
|
|
}
|
|
|
});
|
...
|
...
|
|