[commit] r2087 - trunk/Install/Build

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Oct 18 10:31:19 CDT 2012


Author: ksmyth
Date: Thu Oct 18 10:31:19 2012
New Revision: 2087

Log:
Fix problem with locking Parser.dll on build machine

Modified:
   trunk/Install/Build/build.py

Modified: trunk/Install/Build/build.py
==============================================================================
--- trunk/Install/Build/build.py	Thu Oct 18 10:31:08 2012	(r2086)
+++ trunk/Install/Build/build.py	Thu Oct 18 10:31:19 2012	(r2087)
@@ -139,6 +139,9 @@
 
 def compile_GME_PGO_Instrument():
     "Compile GME core components (PGO Instrument)"
+    # e.g. Dispatch("MGA.MgaParser") locks Parser.dll. FreeLibary it here
+    import ctypes
+    ctypes.windll.ole32.CoFreeUnusedLibraries()
     import errno
     try:
         os.makedirs(_Release_PGO_dir())


More information about the gme-commit mailing list