class LiveUpdateSessionHandler extends TextWebSocketHandler {

  @Override
  public void afterConnectionClosed(
      final WebSocketSession session, final CloseStatus status) throws Exception {
    manager.remove(new LiveUpdateSession(session));
    super.afterConnectionClosed(session, status);
  }

}