mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 15:14:07 +02:00
CheckerComponent#Stop(): log after actually being stopped
This commit is contained in:
parent
f0e12ff63c
commit
b81aa6af3a
@ -84,9 +84,6 @@ 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;
|
||||||
@ -96,6 +93,9 @@ 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