[Zodb-checkins] CVS: ZODB3/ZODB - Connection.py:1.76.4.3
Shane Hathaway
shane@zope.com
Tue, 14 Jan 2003 11:16:50 -0500
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv28477
Modified Files:
Tag: ZODB3-3_1-branch
Connection.py
Log Message:
Merge from HEAD: fixed a minor memory leak in _resetCache().
=== ZODB3/ZODB/Connection.py 1.76.4.2 => 1.76.4.3 ===
--- ZODB3/ZODB/Connection.py:1.76.4.2 Tue Nov 12 15:18:09 2002
+++ ZODB3/ZODB/Connection.py Tue Jan 14 11:16:17 2003
@@ -224,7 +224,8 @@
self._code_timestamp = global_code_timestamp
self._invalidated.clear()
orig_cache = self._cache
- self._cache = PickleCache(self, orig_cache.cache_size)
+ self._cache = cache = PickleCache(self, orig_cache.cache_size)
+ self._incrgc = self.cacheGC = cache.incrgc
def abort(self, object, transaction):
"""Abort the object in the transaction.