Skip to content

Commit

Permalink
Don't call cancel in OkHttpStreamFetcher.
Browse files Browse the repository at this point in the history
Fixes #257
  • Loading branch information
sjudd committed Nov 24, 2014
1 parent 1bd66cb commit 3d25807
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ public String getId() {

@Override
public void cancel() {
if (request != null) {
client.cancel(request);
}
// TODO: call cancel on the client when this method is called on a background thread. See #257
}
}

0 comments on commit 3d25807

Please sign in to comment.