Skip to content

Commit 1b28f29

Browse files
Update Client.java
1 parent b94e346 commit 1b28f29

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/com/sendgrid/Client.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,7 @@ public Response api(Request request) throws IOException {
345345

346346
@Override
347347
public void close() throws IOException {
348-
if(this.createdHttpClient) {
349-
this.httpClient.close();
350-
}
348+
this.httpClient.close();
351349
}
352350

353351
@Override

0 commit comments

Comments
 (0)