Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kymjs committed Jun 2, 2015
2 parents 6578b41 + c1a5fe1 commit 3605e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KJFrame/src/org/kymjs/kjframe/http/DownloadController.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public boolean removeTask() {
if (mStatus == STATUS_DISCARD || mStatus == STATUS_SUCCESS) {
return false;
}
if (mStatus == STATUS_DOWNLOADING && mRequest != null) {
if ((mStatus == STATUS_DOWNLOADING || mStatus == STATUS_WAITING) && mRequest != null) {
mRequest.cancel();
mStatus = STATUS_DISCARD;
}
Expand Down

0 comments on commit 3605e2d

Please sign in to comment.