loolwsd/DocumentBroker.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 84fb2d43fbc60c19935a6220c3ce615a7f742950 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Thu Nov 3 23:05:48 2016 -0400 loolwsd: warn if sessions remain by ~DocumentBroker Change-Id: I03be11b02af7560f934b138e86f8857fd9870a60 Reviewed-on: https://gerrit.libreoffice.org/30550 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loolwsd/DocumentBroker.cpp b/loolwsd/DocumentBroker.cpp index a332af6..d19bfdd 100644 --- a/loolwsd/DocumentBroker.cpp +++ b/loolwsd/DocumentBroker.cpp @@ -171,7 +171,10 @@ DocumentBroker::~DocumentBroker() << "] destroyed with " << _sessions.size() << " sessions left." << Log::end; -// assert(_sessions.empty()); + if (!_sessions.empty()) + { + LOG_WRN("DocumentBroker still has unremoved sessions."); + } } bool DocumentBroker::load(const std::string& sessionId, const std::string& jailId) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits