[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
calling _cleanup with abort() in order to avoid
Andreas Jung
andreas at andreas-jung.com
Tue Oct 30 02:48:06 EDT 2007
Log message for revision 81196:
calling _cleanup with abort() in order to avoid
a connection leak
Changed:
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py 2007-10-30 00:33:44 UTC (rev 81195)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py 2007-10-30 06:48:05 UTC (rev 81196)
@@ -171,6 +171,7 @@
self.transaction.rollback()
self.session.clear()
connection_cache.remove(self._id)
+ self._cleanup()
def _flush(self):
More information about the Checkins
mailing list