diff --git a/lib/config/configcompilercontext.cpp b/lib/config/configcompilercontext.cpp index ad6bd1925..6ac45a97a 100644 --- a/lib/config/configcompilercontext.cpp +++ b/lib/config/configcompilercontext.cpp @@ -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";