forked from netty/netty
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace ctx.channel().writeAndFlush with ctx.writeAndFlush in WebSock…
…ets handlers (netty#12540) Motivation: There is no actual need to call `ctx.channel().writeAndFlush` instead of `ctx.writeAndFlush`. Using the context is also more correct as it start at the right place in the pipeline. Modification: Use the context and not the channel Result: More correct code
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters