Skip to content

Commit

Permalink
Cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
AnarManafov committed Mar 30, 2022
1 parent 8c6c950 commit f29a775
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dds-commander/src/ConnectionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1219,11 +1219,13 @@ void CConnectionManager::updateTopology(const dds::tools_api::STopologyRequestDa
if (removedTasks.size() > 0)
{
weakChannelInfo_t::container_t agents;
for (auto taskID : removedTasks)
{
lock_guard<mutex> lock(m_mapMutex);
auto agentChannel = m_taskIDToAgentChannelMap[taskID];
agents.push_back(agentChannel);
for (auto taskID : removedTasks)
{
auto agentChannel = m_taskIDToAgentChannelMap[taskID];
agents.push_back(agentChannel);
}
}

// FIXME: Needs to be reviewed for the current architecture
Expand Down

0 comments on commit f29a775

Please sign in to comment.