Skip to content

Commit 2d25470

Browse files
committed
fixed delay of the fist message the server sends out( bug since TooTallNate#83 )
1 parent 071f051 commit 2d25470

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/org/java_websocket/WebSocketServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ public final void onWriteDemand( WebSocket w ) {
354354
return;
355355
}
356356
}
357+
selector.wakeup();
357358
}
358359

359360
public final void setWebSocketFactory( WebSocketServerFactory wsf ) {

0 commit comments

Comments
 (0)