Skip to content

Commit

Permalink
Make the comment more compact
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 authored Oct 31, 2024
1 parent bf1d72a commit d34de4b
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,8 @@ public void inject() {
ChannelInitializer<Channel> wrapper = new ChannelInitializer<Channel>() {
@Override
protected void initChannel(Channel channel) {
/*
Check if the channel is open, see #547
Moved bottom ReflectionUtils.invoke()
Here is always true and it do not work
*/
ReflectionUtils.invoke(original, initChannelMethod, channel);

// Fix of #547 (after testing)
// Check if the channel is open, see #547
if (!channel.isOpen()) {
return;
}
Expand Down

0 comments on commit d34de4b

Please sign in to comment.