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
Whirlwind
2014-06-18 00:14:23 +0800
Commit
364f5c4d7a8e8289058dafe3b9e6fe9f7cee5566
1 parent
b81b7f9b
should not add url to failedURLs when timeout, cancel and so on. #707
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
SDWebImage/SDWebImageManager.m
SDWebImage/SDWebImageManager.m
View file @
364f5c4
...
...
@@ -151,7 +151,7 @@
completedBlock
(
nil
,
error
,
SDImageCacheTypeNone
,
finished
)
;
})
;
if
(
error
.
code
!=
NSURLErrorNotConnectedToInternet
)
{
if
(
error
.
code
!=
NSURLErrorNotConnectedToInternet
&&
error
.
code
!=
NSURLErrorCancelled
&&
error
.
code
!=
NSURLErrorTimedOut
)
{
@synchronized
(
self
.
failedURLs
)
{
[
self
.
failedURLs
addObject
:
url
]
;
}
...
...
Please
register
or
login
to post a comment