mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
WW-3768:
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user