We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa1498 commit 0b98aeaCopy full SHA for 0b98aea
src/org/java_websocket/client/WebSocketClient.java
@@ -239,12 +239,12 @@ private final void interruptableRun() {
239
while ( i.hasNext() ) {
240
key = i.next();
241
i.remove();
242
- if( key.isReadable() && SocketChannelIOHelper.read( buff, this.conn, wrappedchannel ) ) {
243
- conn.decode( buff );
244
- }
245
if( !key.isValid() ) {
246
continue;
247
}
+ if( key.isReadable() && SocketChannelIOHelper.read( buff, this.conn, wrappedchannel ) ) {
+ conn.decode( buff );
+ }
248
if( key.isConnectable() ) {
249
try {
250
finishConnect();
0 commit comments