Fix crash in ConfigItem::CommitNewItems

refs #9096
This commit is contained in:
Gunnar Beutner 2015-08-25 17:19:31 +02:00
parent de09a562f6
commit 8fc92d8a08
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ void ConfigItem::Unregister(void)
boost::mutex::scoped_lock lock(m_Mutex);
m_UnnamedItems.erase(std::remove(m_UnnamedItems.begin(), m_UnnamedItems.end(), this), m_UnnamedItems.end());
m_Items[m_Type].erase(m_Name);
m_CommittedItems.erase(std::remove(m_CommittedItems.begin(), m_CommittedItems.end(), this), m_CommittedItems.end());
}
/**