[Zope3-checkins] CVS: ZODB4/src/zodb - db.py:1.19

Jeremy Hylton jeremy@zope.com
Fri, 20 Jun 2003 16:46:10 -0400


Update of /cvs-repository/ZODB4/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv2664

Modified Files:
	db.py 
Log Message:
Add XXX comment.


=== ZODB4/src/zodb/db.py 1.18 => 1.19 ===
--- ZODB4/src/zodb/db.py:1.18	Fri Jun  6 11:24:19 2003
+++ ZODB4/src/zodb/db.py	Fri Jun 20 16:46:09 2003
@@ -141,6 +141,10 @@
         AbortVersion(self, version)
 
     def close(self):
+        # XXX Jim observes that database close typically occurs when
+        # the app server is shutting down.  If an errant thread is
+        # still running, it may not be possible to stop it.  Thus,
+        # the error on connection.close() may be counter-productive.
         for c in self._allocated:
             c.close()
         del self._allocated[:]