reverting dispatched session open
This commit is contained in:
parent
8efcc8b566
commit
bfb92dc18b
|
@ -68,18 +68,11 @@ public class WebSocketServerConnection extends AbstractWebSocketConnection
|
|||
public void onOpen()
|
||||
{
|
||||
boolean beenOpened = opened.getAndSet(true);
|
||||
super.onOpen();
|
||||
if (!beenOpened)
|
||||
{
|
||||
execute(new Runnable()
|
||||
{
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
factory.sessionOpened(getSession());
|
||||
}
|
||||
});
|
||||
factory.sessionOpened(getSession());
|
||||
}
|
||||
super.onOpen();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue