Fixed #1766 - client container is managed now

This commit is contained in:
Joakim Erdfelt 2017-08-23 15:20:47 -07:00
parent 2ed620b1f4
commit f8d29c5f28
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class JettyClientContainerProvider extends ContainerProvider
{ {
// Add as bean to contextHandler // Add as bean to contextHandler
// Allow startup to follow Jetty lifecycle // Allow startup to follow Jetty lifecycle
((ContainerLifeCycle) contextHandler).addBean(clientContainer); ((ContainerLifeCycle) contextHandler).addManaged(clientContainer);
} }
else else
{ {