Fix crash in ConfigCompilerContext::WriteObject

fixes #8106
This commit is contained in:
Gunnar Beutner 2014-12-18 12:46:35 +01:00
parent a0359799bd
commit 82a9a8f0cf
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ void ConfigCompilerContext::WriteObject(const Dictionary::Ptr& object)
void ConfigCompilerContext::FinishObjectsFile(void)
{
m_ObjectsFP->Close();
m_ObjectsFP.reset();
String tempFilename = m_ObjectsPath + ".tmp";