[Zodb-checkins] CVS: StandaloneZODB/ZEO - ClientStorage.py:1.33.2.3
Jeremy Hylton
jeremy@zope.com
Thu, 25 Oct 2001 20:50:38 -0400
Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv4419
Modified Files:
Tag: zeo-1_0-branch
ClientStorage.py
Log Message:
Previous fix was all wrong! There was already a close() method.
In the real close(), close the _tfile.
=== StandaloneZODB/ZEO/ClientStorage.py 1.33.2.2 => 1.33.2.3 ===
# below.
- def close(self):
- self._cache.close()
- self._tfile.close()
-
def registerDB(self, db, limit):
"""Register that the storage is controlled by the given DB.
"""
@@ -312,6 +308,7 @@
LOG("ClientStorage", INFO, "close")
self._call.closeIntensionally()
self._cache.close()
+ self._tfile.close()
self.closed = 1
finally: self._lock_release()