Clean DB properties on close (#123)
( This is ZODB4 backport of upstream commit e9c7492a ) * clean up references to DBs and Connections in pools * Implement an explicit clear() method for clearing all the items in the pool. -------- Kirr: with wendelin.core 2 this release of resources becomes important because if DB.close does not clear connection pools, and something continues to reference DB object, the connections - that stay referenced from DB.pool - will be kept alive, and so will be WCFS client connection associated with those ZODB Connections. As the result, even after proper zconn.close() and DB.close(), WCFS server stays referenced via files opened by WCFS client connections, and so cannot be unmounted cleanly.
Showing
-
mentioned in commit wendelin.core@7203d7ab
-
mentioned in commit erp5@171a66f2
Please register or sign in to comment