Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
yh_sdwebimage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Dale Buckley
2013-06-04 12:04:36 +0100
Commit
7d9c93fb515b4ac9b52240c2de10b14ed8cf3fdd
1 parent
d04fd47f
#406 - Fixed a problem where hitting a failed URL more than once wouldn't call the completion block
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
SDWebImage/SDWebImageManager.m
SDWebImage/SDWebImageManager.m
View file @
7d9c93f
...
...
@@ -91,7 +91,11 @@
if
(
!
url
||
!
completedBlock
||
(
!
(
options
&
SDWebImageRetryFailed
)
&&
isFailedUrl
))
{
if
(
completedBlock
)
completedBlock
(
nil
,
nil
,
SDImageCacheTypeNone
,
NO
);
if
(
completedBlock
)
{
NSError
*
error
=
[
NSError
errorWithDomain
:
NSURLErrorDomain
code
:
NSURLErrorFileDoesNotExist
userInfo
:
nil
];
completedBlock
(
nil
,
error
,
SDImageCacheTypeNone
,
YES
);
}
return
operation
;
}
...
...
Please
register
or
login
to post a comment