From d2e049d57506b6314e04ed16be99e2d94ad8b186 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Tue, 19 Feb 2019 14:05:07 +0100 Subject: [PATCH] Revert "CheckerComponent#Stop(): log after actually being stopped" This reverts commit b81aa6af3a23cba179b9da03fda6d2674ccc0956. --- lib/checker/checkercomponent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/checker/checkercomponent.cpp b/lib/checker/checkercomponent.cpp index c14259b88..cde975b72 100644 --- a/lib/checker/checkercomponent.cpp +++ b/lib/checker/checkercomponent.cpp @@ -84,6 +84,9 @@ void CheckerComponent::Start(bool runtimeCreated) void CheckerComponent::Stop(bool runtimeRemoved) { + Log(LogInformation, "CheckerComponent") + << "'" << GetName() << "' stopped."; + { boost::mutex::scoped_lock lock(m_Mutex); m_Stopped = true; @@ -93,9 +96,6 @@ void CheckerComponent::Stop(bool runtimeRemoved) m_ResultTimer->Stop(); m_Thread.join(); - Log(LogInformation, "CheckerComponent") - << "'" << GetName() << "' stopped."; - ObjectImpl::Stop(runtimeRemoved); } -- 2.40.0