Revert "CheckerComponent#Stop(): log after actually being stopped"

This reverts commit b81aa6af3a23cba179b9da03fda6d2674ccc0956.
This commit is contained in:
Michael Friedrich 2019-02-19 14:05:07 +01:00
parent a2f5b7a02c
commit d2e049d575

View File

@ -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<CheckerComponent>::Stop(runtimeRemoved);
}