Skip to content

Commit 184bbc4

Browse files
authored
Merge pull request #84 from lucnygr/master
set HttpAsyncClientSingleton.HTTPC_CLIENT = null on shutdown
2 parents 9ed78f3 + d56867e commit 184bbc4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/org/aarboard/nextcloud/api/utils/ConnectorCommon.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ public interface ResponseParser<R> {
273273
public static void shutdown() throws IOException {
274274
if(HttpAsyncClientSingleton.HTTPC_CLIENT != null) {
275275
HttpAsyncClientSingleton.getInstance(null).close();
276+
HttpAsyncClientSingleton.HTTPC_CLIENT = null;
276277
}
277278
}
278279
}

0 commit comments

Comments
 (0)