Skip to content

Commit

Permalink
Merge pull request #26 from jujiale/main
Browse files Browse the repository at this point in the history
fix:invoke flush method before conn shutdown
  • Loading branch information
stateIs0 authored Jan 29, 2024
2 parents c5337cd + d4e44dd commit 8d802a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public void run() {
log.error(ex.getMessage(), ex);
} finally {
try {
this.conn.flush();
this.conn.shutdown();
} catch (IOException ignore) {
}
Expand Down

0 comments on commit 8d802a1

Please sign in to comment.