Add missing Stop call in the Logger class

fixes #7652
This commit is contained in:
Gunnar Beutner 2014-11-13 09:02:23 +01:00
parent a14928ec10
commit e692ca16cd
1 changed files with 6 additions and 2 deletions

View File

@ -61,8 +61,12 @@ void Logger::Start(void)
void Logger::Stop(void)
{
boost::mutex::scoped_lock lock(m_Mutex);
m_Loggers.erase(this);
{
boost::mutex::scoped_lock lock(m_Mutex);
m_Loggers.erase(this);
}
DynamicObject::Stop();
}
std::set<Logger::Ptr> Logger::GetLoggers(void)