[commit] r1832 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Feb 14 16:25:35 CST 2012


Author: ksmyth
Date: Tue Feb 14 16:25:34 2012
New Revision: 1832

Log:
Dont AbortTransaction if not in one

Modified:
   trunk/GME/MgaUtil/MgaLauncher.cpp

Modified: trunk/GME/MgaUtil/MgaLauncher.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaLauncher.cpp	Tue Feb 14 16:25:24 2012	(r1831)
+++ trunk/GME/MgaUtil/MgaLauncher.cpp	Tue Feb 14 16:25:34 2012	(r1832)
@@ -543,7 +543,8 @@
 							}
 						}
 						// Sometimes interpreters forget to close transactions, even when returning S_OK
-						project->AbortTransaction();
+						if (project->ProjectStatus & 8)
+							project->AbortTransaction();
 					}
 				} else {
 					try	{


More information about the gme-commit mailing list