Commit efbc0fc2 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '2.0.x'

parents 22e722d9 76ad1975
...@@ -109,7 +109,8 @@ final class DispatcherServletHandlerMappings { ...@@ -109,7 +109,8 @@ final class DispatcherServletHandlerMappings {
Container child = context.findChild(name); Container child = context.findChild(name);
if (child instanceof StandardWrapper) { if (child instanceof StandardWrapper) {
try { try {
((StandardWrapper) child).allocate(); StandardWrapper wrapper = (StandardWrapper) child;
wrapper.deallocate(wrapper.allocate());
} }
catch (ServletException ex) { catch (ServletException ex) {
// Continue // Continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment