Skip to content

Commit

Permalink
Don't close channel at all in case of graceful disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
denis.plotnikov committed Dec 3, 2024
1 parent e4348bb commit 572a2ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/exactpro/th2/FixHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -2637,8 +2637,6 @@ private void disconnect(boolean graceful) throws ExecutionException, Interrupted

if(!graceful) {
channel.close().get();
} else if(!enabled.get() && !activeLogonExchange.get()) {
channel.close().get();
}
}

Expand Down

0 comments on commit 572a2ec

Please sign in to comment.