Skip to content

Commit

Permalink
Remove redundant setautoread
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfluencer committed Feb 17, 2025
1 parent 51165fe commit 62289ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions proxy/src/main/java/net/md_5/bungee/netty/ChannelWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ public void close(Object packet)

closed = closing = true;

// disable auto read so the pipeline doesn't read more traffic
ch.config().setAutoRead( false );

if ( packet != null && ch.isActive() )
{
ch.writeAndFlush( packet ).addListeners( ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE, ChannelFutureListener.CLOSE );
Expand Down

0 comments on commit 62289ff

Please sign in to comment.