[Zodb-checkins] CVS: StandaloneZODB/ZEO - ClientStorage.py:1.33.2.2

Jeremy Hylton jeremy@zope.com
Thu, 25 Oct 2001 20:35:51 -0400


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv1172

Modified Files:
      Tag: zeo-1_0-branch
	ClientStorage.py 
Log Message:
Close the cache and temporary file when the storage closes.


=== StandaloneZODB/ZEO/ClientStorage.py 1.33.2.1 => 1.33.2.2 ===
         # 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.
         """