loolwsd/LOOLSession.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit 74580df0d688008130edfe92cb5526413ede7c9e Author: Ashod Nakashian <[email protected]> Date: Sat Mar 26 09:17:08 2016 -0400 loolwsd: warn if still communicating while terminating Change-Id: Id42bb29e7c5f17772c4251d686e82d4380d2a073 Reviewed-on: https://gerrit.libreoffice.org/23539 Reviewed-by: Ashod Nakashian <[email protected]> Tested-by: Ashod Nakashian <[email protected]> diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp index b51120a..e69cbf0 100644 --- a/loolwsd/LOOLSession.cpp +++ b/loolwsd/LOOLSession.cpp @@ -188,7 +188,12 @@ bool LOOLSession::handleInput(const char *buffer, int length) try { - Log::trace(getName() + " Recv: " + getAbbreviatedMessage(buffer, length)); + const auto summary = getAbbreviatedMessage(buffer, length); + Log::trace(getName() + " Recv: " + summary); + if (TerminationFlag) + { + Log::warn("Input while terminating: [" + summary + "]."); + } return _handleInput(buffer, length); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
