[Zodb-checkins] CVS: StandaloneZODB/ZEO - ClientCache.py:1.14.4.5

Jim Fulton jim@zope.com
Thu, 20 Dec 2001 15:38:08 -0500


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

Modified Files:
      Tag: ZEO-ZRPC-Dev
	ClientCache.py 
Log Message:
Add a close() method for ClientCache so we can control the shutdown time.

=== StandaloneZODB/ZEO/ClientCache.py 1.14.4.4 => 1.14.4.5 ===
         finally: self._release()
 
+    def close(self):
+        for f in self._f:
+            if f is not None:
+                f.close()
+
     def verify(self, verifyFunc):
         """Call the verifyFunc on every object in the cache.