Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix close_request_response when @request.async_close is nil
  • Loading branch information
snaury committed Jun 24, 2009
1 parent 90bca2c commit ba2aac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thin/connection.rb
Expand Up @@ -126,7 +126,7 @@ def handle_error
end

def close_request_response
@request.async_close.succeed
@request.async_close.succeed if @request.async_close
@request.close rescue nil
@response.close rescue nil
end
Expand Down

0 comments on commit ba2aac2

Please sign in to comment.