[commit] r1191 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Feb 17 12:00:10 CST 2011


Author: ksmyth
Date: Thu Feb 17 12:00:09 2011
New Revision: 1191

Log:
Fix GME-335: dont attempt to copy deleted/zombie objects

Modified:
   trunk/GME/Mga/MgaComplexOps.cpp

Modified: trunk/GME/Mga/MgaComplexOps.cpp
==============================================================================
--- trunk/GME/Mga/MgaComplexOps.cpp	Thu Feb 17 11:58:36 2011	(r1190)
+++ trunk/GME/Mga/MgaComplexOps.cpp	Thu Feb 17 12:00:09 2011	(r1191)
@@ -1044,6 +1044,8 @@
 
 		std::vector<CoreObj> nobjs(cnt);
 		MGACOLL_ITERATE(IMgaFCO, copylist) {
+			long relId;
+			COMTHROW(MGACOLL_ITER->get_RelID(&relId)); // GME-335:essentially CheckRead
 			CoreObj oldobj = CoreObj(MGACOLL_ITER);
 			ObjForCore(oldobj)->SelfMark(OBJEVENT_COPIED);
 			int derdist = GetRealSubtypeDist(oldobj);


More information about the gme-commit mailing list