Skip to content

Commit

Permalink
Merge pull request #902 from johanhaleby/master
Browse files Browse the repository at this point in the history
Fixed NullPointerException that may happen on timeout
  • Loading branch information
benjchristensen committed Feb 19, 2014
2 parents 1ac89df + d6e78d5 commit 7bb6e33
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ protected HttpResponse buildResult(HttpContext context) throws Exception {

@Override
protected void releaseResources() {
consumer._releaseResources();
if (consumer != null) {
consumer._releaseResources();
}
}

}

0 comments on commit 7bb6e33

Please sign in to comment.