mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
Revert "CheckerComponent#Stop(): log after actually being stopped"
This reverts commit b81aa6af3a23cba179b9da03fda6d2674ccc0956.
This commit is contained in:
parent
a2f5b7a02c
commit
d2e049d575
@ -84,6 +84,9 @@ void CheckerComponent::Start(bool runtimeCreated)
|
|||||||
|
|
||||||
void CheckerComponent::Stop(bool runtimeRemoved)
|
void CheckerComponent::Stop(bool runtimeRemoved)
|
||||||
{
|
{
|
||||||
|
Log(LogInformation, "CheckerComponent")
|
||||||
|
<< "'" << GetName() << "' stopped.";
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(m_Mutex);
|
boost::mutex::scoped_lock lock(m_Mutex);
|
||||||
m_Stopped = true;
|
m_Stopped = true;
|
||||||
@ -93,9 +96,6 @@ void CheckerComponent::Stop(bool runtimeRemoved)
|
|||||||
m_ResultTimer->Stop();
|
m_ResultTimer->Stop();
|
||||||
m_Thread.join();
|
m_Thread.join();
|
||||||
|
|
||||||
Log(LogInformation, "CheckerComponent")
|
|
||||||
<< "'" << GetName() << "' stopped.";
|
|
||||||
|
|
||||||
ObjectImpl<CheckerComponent>::Stop(runtimeRemoved);
|
ObjectImpl<CheckerComponent>::Stop(runtimeRemoved);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user