From 788748e2afedb3d1e180a3033e20ed2d995056a3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 13 Jan 2010 15:14:03 +0000 Subject: - In ``bfg_routesalchemy``, ``bfg_alchemy`` and ``bfgwiki2`` tutorial, clean up the SQLAlchemy connection by registering a ``repoze.tm.after_end`` callback instead of relying on a ``__del__`` method of a ``Cleanup`` class added to the WSFI environment. The ``__del__`` strategy was fragile and caused problems in the wild. Thanks to Daniel Holth for testing. --- CHANGES.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 0254e9ec1..dd17231dc 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,16 @@ Next release ============ +Bug Fixes +--------- + +- In ``bfg_routesalchemy``, ``bfg_alchemy`` and ``bfgwiki2`` tutorial, + clean up the SQLAlchemy connection by registering a + ``repoze.tm.after_end`` callback instead of relying on a ``__del__`` + method of a ``Cleanup`` class added to the WSFI environment. The + ``__del__`` strategy was fragile and caused problems in the wild. + Thanks to Daniel Holth for testing. + Documentation ------------- -- cgit v1.2.3