[Zope-Checkins] CVS: Zope/lib/python/App - ApplicationManager.py:1.81.10.2

Toby Dickenson tdickenson@geminidataloggers.com
Wed, 13 Nov 2002 05:13:58 -0500


Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv10115/lib/python/App

Modified Files:
      Tag: toby-clean-shutdown-branch
	ApplicationManager.py 
Log Message:
final round of changes so that databases get closed once, and only once. databases are still not closed if zope terminates due to an exception

=== Zope/lib/python/App/ApplicationManager.py 1.81.10.1 => 1.81.10.2 ===
--- Zope/lib/python/App/ApplicationManager.py:1.81.10.1	Thu Oct 10 13:27:53 2002
+++ Zope/lib/python/App/ApplicationManager.py	Wed Nov 13 05:13:57 2002
@@ -326,7 +326,7 @@
                 user = 'unknown user'
             zLOG.LOG("ApplicationManager", zLOG.INFO,
                      "Restart requested by %s" % user)
-            for db in Globals.opened: db.close()
+            #for db in Globals.opened: db.close()
             Lifetime.shutdown(1)
             return """<html>
             <head><meta HTTP-EQUIV=REFRESH CONTENT="5; URL=%s/manage_main">