Test failure fix

This commit is contained in:
Joakim Erdfelt 2014-04-15 10:16:52 -07:00
parent cad7d3f5ed
commit db2c6c20b9
1 changed files with 3 additions and 2 deletions

View File

@ -342,7 +342,7 @@ public class WebSocketSession extends ContainerLifeCycle implements Session, Inc
{
switch (state)
{
case CLOSED:
case CLOSING:
// notify session listeners
for (SessionListener listener : sessionListeners)
{
@ -355,7 +355,8 @@ public class WebSocketSession extends ContainerLifeCycle implements Session, Inc
LOG.ignore(t);
}
}
break;
case CLOSED:
IOState ioState = this.connection.getIOState();
CloseInfo close = ioState.getCloseInfo();
// confirmed close of local endpoint