ThreadLocal was created but not removed appropriately

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1304070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
René Gielen
2012-03-22 21:17:07 +00:00
parent c52cd98c9e
commit b0d14cea04
@@ -581,6 +581,8 @@ class ContainerImpl implements Container {
} finally {
// Only remove the context if this call created it.
reference[0] = null;
// WW-3768: ThreadLocal was not removed
localContext.remove();
}
} else {
// Someone else will clean up this context.