[commit] r1286 - trunk/GME/Parser
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Apr 26 13:28:56 CDT 2011
Author: ksmyth
Date: Tue Apr 26 13:28:55 2011
New Revision: 1286
Log:
Call XMLPlatformUtils::Terminate
Modified:
trunk/GME/Parser/MetaParser.cpp
trunk/GME/Parser/MgaParser.cpp
trunk/GME/Parser/MgaParserBC.cpp
trunk/GME/Parser/MgaParserSC.cpp
trunk/GME/Parser/StdAfx.h
Modified: trunk/GME/Parser/MetaParser.cpp
==============================================================================
--- trunk/GME/Parser/MetaParser.cpp Tue Apr 26 11:02:18 2011 (r1285)
+++ trunk/GME/Parser/MetaParser.cpp Tue Apr 26 13:28:55 2011 (r1286)
@@ -34,6 +34,7 @@
CopyTo(filename, xmlfile);
+ XMLPlatformUtilsTerminate_RAII term;
try
{
XMLPlatformUtils::Initialize();
Modified: trunk/GME/Parser/MgaParser.cpp
==============================================================================
--- trunk/GME/Parser/MgaParser.cpp Tue Apr 26 11:02:18 2011 (r1285)
+++ trunk/GME/Parser/MgaParser.cpp Tue Apr 26 13:28:55 2011 (r1286)
@@ -53,6 +53,7 @@
CopyTo(filename, xmlfile);
m_resolveDerFuncPtr = &CMgaParser::ResolveDerivation;
+ XMLPlatformUtilsTerminate_RAII term;
try
{
XMLPlatformUtils::Initialize();
@@ -189,6 +190,7 @@
CopyTo(filename, xmlfile);
m_resolveDerFuncPtr = &CMgaParser::ResolveDerivation;
+ XMLPlatformUtilsTerminate_RAII term;
try
{
XMLPlatformUtils::Initialize();
@@ -311,6 +313,7 @@
CopyTo(filename, xmlfile);
+ XMLPlatformUtilsTerminate_RAII term;
try
{
XMLPlatformUtils::Initialize();
@@ -1801,6 +1804,7 @@
CopyTo(filename, xmlfile);
+ XMLPlatformUtilsTerminate_RAII term;
try
{
XMLPlatformUtils::Initialize();
Modified: trunk/GME/Parser/MgaParserBC.cpp
==============================================================================
--- trunk/GME/Parser/MgaParserBC.cpp Tue Apr 26 11:02:18 2011 (r1285)
+++ trunk/GME/Parser/MgaParserBC.cpp Tue Apr 26 13:28:55 2011 (r1286)
@@ -70,6 +70,7 @@
CopyTo(filename, xmlfile);
+ XMLPlatformUtilsTerminate_RAII term;
try
{
XMLPlatformUtils::Initialize();
Modified: trunk/GME/Parser/MgaParserSC.cpp
==============================================================================
--- trunk/GME/Parser/MgaParserSC.cpp Tue Apr 26 11:02:18 2011 (r1285)
+++ trunk/GME/Parser/MgaParserSC.cpp Tue Apr 26 13:28:55 2011 (r1286)
@@ -59,6 +59,7 @@
CopyTo(filename, xmlfile);
+ XMLPlatformUtilsTerminate_RAII term;
try
{
XMLPlatformUtils::Initialize();
Modified: trunk/GME/Parser/StdAfx.h
==============================================================================
--- trunk/GME/Parser/StdAfx.h Tue Apr 26 11:02:18 2011 (r1285)
+++ trunk/GME/Parser/StdAfx.h Tue Apr 26 13:28:55 2011 (r1286)
@@ -67,6 +67,12 @@
return _bstr_t(str.c_str());
}
+#include <xercesc/util/PlatformUtils.hpp>
+class XMLPlatformUtilsTerminate_RAII {
+public:
+ ~XMLPlatformUtilsTerminate_RAII() { xercesc_3_1::XMLPlatformUtils::Terminate(); }
+};
+
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
More information about the gme-commit
mailing list