Don't cache config item properties.

Refs #5400
This commit is contained in:
Gunnar Beutner 2013-12-20 13:16:03 +01:00
parent 38aa231a2d
commit 3e5af43e4d
2 changed files with 3 additions and 7 deletions

View File

@ -141,12 +141,9 @@ Dictionary::Ptr ConfigItem::GetProperties(void)
{
ASSERT(OwnsLock());
if (!m_Properties) {
m_Properties = make_shared<Dictionary>();
GetLinkedExpressionList()->Execute(m_Properties);
}
return m_Properties;
Dictionary::Ptr properties = make_shared<Dictionary>();
GetLinkedExpressionList()->Execute(properties);
return properties;
}
/**

View File

@ -78,7 +78,6 @@ private:
DebugInfo m_DebugInfo; /**< Debug information. */
ExpressionList::Ptr m_LinkedExpressionList;
Dictionary::Ptr m_Properties;
DynamicObject::Ptr m_Object;