Skip to content

Commit

Permalink
fix 4694: consumer return quickly, when the provider interrupts abnor…
Browse files Browse the repository at this point in the history
…mally
  • Loading branch information
zhaozhiwei committed Sep 16, 2019
1 parent dbb0a64 commit 6eb21ee
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ public boolean isClosed() {
@Override
public void close() {
try {
// graceful close
DefaultFuture.closeChannel(channel);
channel.close();
} catch (Throwable e) {
logger.warn(e.getMessage(), e);
Expand Down

0 comments on commit 6eb21ee

Please sign in to comment.