Merge branch '2.0.x'

This commit is contained in:
Andy Wilkinson
2018-10-19 11:41:38 +01:00

View File

@@ -109,7 +109,8 @@ final class DispatcherServletHandlerMappings {
Container child = context.findChild(name);
if (child instanceof StandardWrapper) {
try {
((StandardWrapper) child).allocate();
StandardWrapper wrapper = (StandardWrapper) child;
wrapper.deallocate(wrapper.allocate());
}
catch (ServletException ex) {
// Continue