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 (#4698)
  • Loading branch information
bigwg authored and cvictory committed Sep 17, 2019
1 parent fb1f98b commit a89b24c
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 a89b24c

Please sign in to comment.