We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f99713 commit 8392375Copy full SHA for 8392375
client/src/main/java/org/asynchttpclient/DefaultAsyncHttpClient.java
@@ -94,12 +94,15 @@ public void close() {
94
if (closed.compareAndSet(false, true)) {
95
try {
96
channelManager.close();
97
-
98
- if (allowStopNettyTimer)
99
- nettyTimer.stop();
100
101
} catch (Throwable t) {
102
- LOGGER.warn("Unexpected error on close", t);
+ LOGGER.warn("Unexpected error on ChannelManager close", t);
+ }
+ if (allowStopNettyTimer) {
+ try {
+ nettyTimer.stop();
103
+ } catch (Throwable t) {
104
+ LOGGER.warn("Unexpected error on HashedWheelTimer close", t);
105
106
}
107
108
0 commit comments