Changed: #1440 Modified some logging

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 13 years ago
parent 22d9c67d9e
commit 369e1fc6fc

@ -109,10 +109,10 @@ public:
{ {
if (moduleProxy->getModuleClassName() == "ModulePipelineSlave") if (moduleProxy->getModuleClassName() == "ModulePipelineSlave")
{ {
nlassert(m_Slaves.find(moduleProxy) == m_Slaves.end());
nlinfo("Slave UP (%s)", moduleProxy->getModuleName().c_str()); nlinfo("Slave UP (%s)", moduleProxy->getModuleName().c_str());
nlassert(m_Slaves.find(moduleProxy) == m_Slaves.end());
m_SlavesMutex.lock(); m_SlavesMutex.lock();
CSlave *slave = new CSlave(this, moduleProxy); CSlave *slave = new CSlave(this, moduleProxy);
@ -128,6 +128,8 @@ public:
{ {
nlinfo("Slave DOWN (%s)", moduleProxy->getModuleName().c_str()); nlinfo("Slave DOWN (%s)", moduleProxy->getModuleName().c_str());
nlassert(m_Slaves.find(moduleProxy) != m_Slaves.end());
m_SlavesMutex.lock(); m_SlavesMutex.lock();
TSlaveMap::iterator slaveIt = m_Slaves.find(moduleProxy); TSlaveMap::iterator slaveIt = m_Slaves.find(moduleProxy);

Loading…
Cancel
Save