Merge branch '2.0.x'

pull/14907/head
Andy Wilkinson 6 years ago
commit efbc0fc2ca

@ -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

Loading…
Cancel
Save