Skip to content

Commit

Permalink
adding missing flushes
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Jan 30, 2022
1 parent 4ed2579 commit fa8e100
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,13 @@ public void onMessage(WebSocket webSocket, ByteBuffer bytes) {
case 2:
if (err != null) {
Channels.newChannel(err).write(byteString);
err.flush();
}
break;
case 3:
if (errChannel != null) {
Channels.newChannel(errChannel).write(byteString);
errChannel.flush();
}
break;
default:
Expand Down

0 comments on commit fa8e100

Please sign in to comment.