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()
|
public void onOpen()
|
||||||
{
|
{
|
||||||
boolean beenOpened = opened.getAndSet(true);
|
boolean beenOpened = opened.getAndSet(true);
|
||||||
super.onOpen();
|
|
||||||
if (!beenOpened)
|
if (!beenOpened)
|
||||||
{
|
{
|
||||||
execute(new Runnable()
|
factory.sessionOpened(getSession());
|
||||||
{
|
|
||||||
@Override
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
factory.sessionOpened(getSession());
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
super.onOpen();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue