TAP5-2411: Make sure the PerthreadManager's ThreadLocal is removed at the end of the servlet filter's initialization
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/f3aaec55 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/f3aaec55 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/f3aaec55 Branch: refs/heads/beanmodel-split Commit: f3aaec55e1e288464b84882c67a59a84171b6fa1 Parents: b7f60e2 Author: Jochen Kemnade <[email protected]> Authored: Thu Nov 6 10:32:07 2014 +0100 Committer: Jochen Kemnade <[email protected]> Committed: Thu Nov 6 10:32:07 2014 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/tapestry5/TapestryFilter.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/f3aaec55/tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java b/tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java index 178571f..61c2cdb 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/TapestryFilter.java @@ -116,6 +116,8 @@ public class TapestryFilter implements Filter init(registry); appInitializer.announceStartup(); + + registry.cleanupThread(); } protected final FilterConfig getFilterConfig()
