common/Session.cpp | 7 ------- common/Session.hpp | 3 --- 2 files changed, 10 deletions(-)
New commits: commit 019f268ffd6f87471c52b5d15e040fb7a086c24e Author: Michael Meeks <[email protected]> AuthorDate: Thu Mar 5 22:15:13 2020 +0000 Commit: Michael Meeks <[email protected]> CommitDate: Sat Mar 7 11:28:08 2020 +0100 handleDisconnect - unused. Change-Id: Ib305f762ae33424c8a598d5c31eeda31b9c87555 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90137 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Michael Meeks <[email protected]> diff --git a/common/Session.cpp b/common/Session.cpp index 3e15330e9..4b4c563d6 100644 --- a/common/Session.cpp +++ b/common/Session.cpp @@ -196,13 +196,6 @@ void Session::disconnect() } } -bool Session::handleDisconnect() -{ - _disconnected = true; - shutdown(); - return false; -} - void Session::shutdown(const WebSocketHandler::StatusCodes statusCode, const std::string& statusMessage) { LOG_TRC("Shutting down WS [" << getName() << "] with statusCode [" << diff --git a/common/Session.hpp b/common/Session.hpp index ec552f9d7..6b5e93322 100644 --- a/common/Session.hpp +++ b/common/Session.hpp @@ -97,9 +97,6 @@ public: /// Invoked when we want to disconnect a session. virtual void disconnect(); - /// Called to handle disconnection command from socket. - virtual bool handleDisconnect(); - /// clean & normal shutdown void shutdownNormal(const std::string& statusMessage = "") { shutdown(WebSocketHandler::StatusCodes::NORMAL_CLOSE, statusMessage); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
