No need for a separate 'close' request

Having a 'close' would mean being able to do a new 'open', too, which
introduces unneeded complexity, at least at this stage.

Just start a fresh WebSocket connection for each document.
This commit is contained in:
Tor Lillqvist 2015-03-09 17:40:06 +02:00
parent 5c8c36b555
commit bf611698b2
2 changed files with 0 additions and 7 deletions

View file

@ -74,11 +74,6 @@ bool LOOLSession::handleInput(char *buffer, int length)
{
sendTile(tokens);
}
else if (tokens[0] == "close")
{
_loKitDocument->pClass->destroy(_loKitDocument);
_loKitDocument = NULL;
}
return true;
}

View file

@ -10,8 +10,6 @@ status
tile width=<width> height=<height> tileposx=<xpos> tileposy=<ypos> tilewidth=<tileWidth> tileheight=<tileHeight>
close
server -> client
================