Skip to content
Snippets Groups Projects
Commit abc86b5f authored by Charles Leggett's avatar Charles Leggett
Browse files

Reverse the order in which IoComponentMgr io_finalizes components

See merge request !155
parents 32292bc0 28a9bfbf
No related branches found
No related tags found
1 merge request!155Reverse the order in which IoComponentMgr io_finalizes components
......@@ -461,7 +461,8 @@ IoComponentMgr::io_finalize ()
}
bool allgood = true;
for ( IoStack_t::iterator io = m_iostack.begin(), ioEnd = m_iostack.end();
// reverse iteration to unwind component dependencies
for( IoStack_t::reverse_iterator io = m_iostack.rbegin(), ioEnd = m_iostack.rend();
io != ioEnd;
++io ) {
m_log << MSG::DEBUG << " [" << (*io)->name() << "]->io_finalize()..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment