[commit] r1464 - trunk/GME/MgaUtil
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Thu Aug 4 15:35:58 CDT 2011
Author: ksmyth
Date: Thu Aug 4 15:35:58 2011
New Revision: 1464
Log:
Dont require regular interpreters to be registered in Software\GME. Call CoFreeUnusedLibraries after invoking an interpreter for faster debug cycles
Modified:
trunk/GME/MgaUtil/MgaLauncher.cpp
Modified: trunk/GME/MgaUtil/MgaLauncher.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaLauncher.cpp Thu Aug 4 15:33:51 2011 (r1463)
+++ trunk/GME/MgaUtil/MgaLauncher.cpp Thu Aug 4 15:35:58 2011 (r1464)
@@ -739,7 +739,8 @@
componenttype_enum type;
- COMTHROW(registrar->QueryComponent(prgid, &type, NULL, REGACCESS_PRIORITY));
+ if (FAILED(registrar->QueryComponent(prgid, &type, NULL, REGACCESS_PRIORITY)))
+ type = COMPONENTTYPE_INTERPRETER;
CComPtr<IMgaComponent> component;
// Before DispatchProxy: CComObjPtr<IMgaComponent> component;
CString compname = prgid;
@@ -866,10 +867,9 @@
}
}
}
-// component.Release();
-// CoFreeUnusedLibraries();
-// } COMCATCH(CoFreeUnusedLibraries(););
- } COMCATCH(;);
+ component.Release();
+ CoFreeUnusedLibraries();
+ } COMCATCH(CoFreeUnusedLibraries(););
}
// ------ Helper functions
More information about the gme-commit
mailing list