ZODBDatabase.open(): if the call to ZODB.DB() fails (== raises an
exception), explicitly close the storage passed to it, then re-raise the exception. Otherwise the storage remains open. Turns out that accounted for why test_zeo_config left a ConnectThread daemon thread running (Zope3's test.py has been pointing that out for a loooong time).
Showing
Please register or sign in to comment