[commit] r1369 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Jun 17 17:41:03 CDT 2011


Author: ksmyth
Date: Fri Jun 17 17:41:02 2011
New Revision: 1369

Log:
Fix crashrpt b168fc58-84c6-4e46-96e6-751ebe50448d

Modified:
   trunk/GME/Gme/GMEView.cpp

Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp	Fri Jun 17 17:16:20 2011	(r1368)
+++ trunk/GME/Gme/GMEView.cpp	Fri Jun 17 17:41:02 2011	(r1369)
@@ -1494,7 +1494,10 @@
 		CommitTransaction();
 	}
 	catch(hresult_exception &e) {
-		AbortTransaction(e.hr);
+		try {
+			AbortTransaction(e.hr);
+		} catch(hresult_exception &e) {
+		} // Our transaction count was wrong. What else can we do?
 		ok = false;
 	}
 	return ok;


More information about the gme-commit mailing list