[commit] r1915 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri May 4 10:11:37 CDT 2012


Author: ksmyth
Date: Fri May  4 10:11:31 2012
New Revision: 1915

Log:
Fix: PartBrowser leaks the IMgaProject

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Wed Apr 25 14:03:41 2012	(r1914)
+++ trunk/GME/Gme/GMEApp.cpp	Fri May  4 10:11:31 2012	(r1915)
@@ -667,6 +667,9 @@
 	if(CGMESearch::theInstance!=NULL)
 		CGMESearch::theInstance->CloseProject();
 
+	if (CGMEPartBrowser::theInstance)
+		CGMEPartBrowser::theInstance->SetProject(CComPtr<IMgaProject>(0));
+
 
 
 	if( guiMetaProject != NULL )


More information about the gme-commit mailing list