[commit] r2019 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Aug 16 11:29:45 CDT 2012


Author: ksmyth
Date: Thu Aug 16 11:29:45 2012
New Revision: 2019

Log:
Don't abort if not in transaction

Modified:
   trunk/GME/MgaUtil/MgaLauncher.cpp

Modified: trunk/GME/MgaUtil/MgaLauncher.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaLauncher.cpp	Thu Aug 16 11:29:36 2012	(r2018)
+++ trunk/GME/MgaUtil/MgaLauncher.cpp	Thu Aug 16 11:29:45 2012	(r2019)
@@ -600,7 +600,8 @@
 				catch(hresult_exception &e)	{
 					DisplayError(_T("Interpreter returned error"), e.hr);
 				}
-				project->AbortTransaction();
+				if (project->ProjectStatus & 8)
+					project->AbortTransaction();
 			}				
 		}
 		component.Release();


More information about the gme-commit mailing list