Close the project after generating it, so we don't keep a gazillion project
files open when we're rebuilding them all.
diff --git a/Mac/Lib/mkcwproject/__init__.py b/Mac/Lib/mkcwproject/__init__.py
index 69a1f32..ea127ee 100644
--- a/Mac/Lib/mkcwproject/__init__.py
+++ b/Mac/Lib/mkcwproject/__init__.py
@@ -61,6 +61,7 @@
xmlfss = macfs.FSSpec(xmlfile)
prjfss = macfs.FSSpec(projectfile)
cw.my_mkproject(prjfss, xmlfss)
+ cw.Close_Project()
def buildproject(projectfile):
cw = cwtalker.MyCodeWarrior(start=1)