Skip to content

Commit

Permalink
CheckerComponent#Stop(): log after actually being stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Jan 24, 2019
1 parent f0e12ff commit b81aa6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/checker/checkercomponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ 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;
Expand All @@ -96,6 +93,9 @@ void CheckerComponent::Stop(bool runtimeRemoved)
m_ResultTimer->Stop();
m_Thread.join();

Log(LogInformation, "CheckerComponent")
<< "'" << GetName() << "' stopped.";

ObjectImpl<CheckerComponent>::Stop(runtimeRemoved);
}

Expand Down

0 comments on commit b81aa6a

Please sign in to comment.