Skip to content

Commit f033e9b

Browse files
committed
Return true from isDone in RequestFutureTarget if load has failed.
Fixes #1063.
1 parent a4af922 commit f033e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/bumptech/glide/request/RequestFutureTarget.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public synchronized boolean isCancelled() {
9999

100100
@Override
101101
public synchronized boolean isDone() {
102-
return isCancelled || resultReceived;
102+
return isCancelled || resultReceived || loadFailed;
103103
}
104104

105105
@Override

0 commit comments

Comments
 (0)