Skip to content

Commit

Permalink
Merge pull request aws#847 from mblasi/jdk-lt-1.7
Browse files Browse the repository at this point in the history
Null safe check for allowing excetion follow up
  • Loading branch information
varunnvs92 authored Sep 16, 2016
2 parents 5baae32 + e92e4be commit 6201d29
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,9 @@ public <T> Response<T> executeWithTimer(Request<?> request,
clientExecutionTimer.startTimer(getClientExecutionTimeout(request.getOriginalRequest())));
return doExecute(request, responseHandler, errorResponseHandler, executionContext);
} finally {
executionContext.getClientExecutionTrackerTask().cancelTask();
if (executionContext.getClientExecutionTrackerTask() != null) {
executionContext.getClientExecutionTrackerTask().cancelTask();
}
}
}

Expand Down

0 comments on commit 6201d29

Please sign in to comment.