Improve time sync over websocket

This commit is contained in:
badaix 2025-01-13 20:23:29 +01:00
parent 0fb90802b5
commit a638da0ff7
3 changed files with 4 additions and 7 deletions

View file

@ -130,8 +130,6 @@ void ControlSessionWebsocket::do_read_ws()
void ControlSessionWebsocket::on_read_ws(beast::error_code ec, std::size_t bytes_transferred)
{
boost::ignore_unused(bytes_transferred);
// This indicates that the session was closed
if (ec == websocket::error::closed)
return;