Fixed #1766 - client container is managed now
This commit is contained in:
parent
2ed620b1f4
commit
f8d29c5f28
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue