[Zodb-checkins] CVS: ZODB3/ZODB - Connection.py:1.98.2.2
Jeremy Hylton
jeremy at zope.com
Mon Sep 8 12:25:43 EDT 2003
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv22462
Modified Files:
Tag: ZODB3-3_2-branch
Connection.py
Log Message:
Check call to _incrgc (backport from ZODB 3.1 branch).
=== ZODB3/ZODB/Connection.py 1.98.2.1 => 1.98.2.2 ===
--- ZODB3/ZODB/Connection.py:1.98.2.1 Mon Sep 8 11:20:48 2003
+++ ZODB3/ZODB/Connection.py Mon Sep 8 11:25:42 2003
@@ -279,7 +279,8 @@
self.__onCloseCallbacks.append(f)
def close(self):
- self._incrgc() # This is a good time to do some GC
+ if self._incrgc is not None:
+ self._incrgc() # This is a good time to do some GC
# Call the close callbacks.
if self.__onCloseCallbacks is not None:
More information about the Zodb-checkins
mailing list