diff --git a/source/shared_lib/sources/xml/xml_parser.cpp b/source/shared_lib/sources/xml/xml_parser.cpp index 1b1a582ac..6ebe3dc0b 100644 --- a/source/shared_lib/sources/xml/xml_parser.cpp +++ b/source/shared_lib/sources/xml/xml_parser.cpp @@ -400,10 +400,6 @@ XmlNode *XmlIoRapid::load(const string &path, const std::map &map rootNode= new XmlNode(doc->first_node(),mapTagReplacementValues); - //doc->clear(); - cleanup(); - init(); - if(showPerfStats) printf("In [%s::%s Line: %d] took msecs: " MG_I64_SPECIFIER "\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,chrono.getMillis()); #if defined(WIN32) && !defined(__MINGW32__)