From bb49e17e8f70e50caa653be625fa497f51c3135f Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 15 May 2018 10:52:56 +0100 Subject: [PATCH] Start the admin thread even if it is disabled. The admin thread does memory cleanup as well which is required. This also reduces logging churn. Change-Id: I1c6cfaf6085b685f230dc24ae1716b0256d892f8 --- wsd/Admin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wsd/Admin.cpp b/wsd/Admin.cpp index dc1ff562f..f05a80281 100644 --- a/wsd/Admin.cpp +++ b/wsd/Admin.cpp @@ -615,8 +615,7 @@ void Admin::dumpState(std::ostream& os) void Admin::start() { - if (LOOLWSD::AdminEnabled) - startThread(); + startThread(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */