Skip to content

Commit

Permalink
fix a bug which causes will message cannot be sent when client is clo…
Browse files Browse the repository at this point in the history
…sed forcibly
  • Loading branch information
zhongyuan17 committed Mar 11, 2024
1 parent 26ac7a9 commit eeeeae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void close() {

public void closeForcibly() {
try {
client.disconnectForcibly();
client.disconnectForcibly(0, 0, false);
client.close(true);
} catch (Throwable e) {
// ignore intentionally;
Expand Down

0 comments on commit eeeeae5

Please sign in to comment.