Skip to content

Commit

Permalink
wait for closing all channels
Browse files Browse the repository at this point in the history
  • Loading branch information
magnus-gustafsson committed Jun 26, 2018
1 parent f6cffc2 commit 7f9224c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public int getChannelSize() {

public void shutdown() {
for (PooledChannel pooledChannel : pooledChannels) {
pooledChannel.channel.close();
pooledChannel.channel.close().awaitUninterruptibly();
}
}

Expand Down

0 comments on commit 7f9224c

Please sign in to comment.