381399 Unable to stop a jetty instance that has not finished starting
This commit is contained in:
parent
18141b68a3
commit
8bcb906883
|
@ -121,8 +121,11 @@ public class ShutdownThread extends Thread
|
|||
{
|
||||
try
|
||||
{
|
||||
lifeCycle.stop();
|
||||
LOG.debug("Stopped {}",lifeCycle);
|
||||
if (lifeCycle.isStarted())
|
||||
{
|
||||
lifeCycle.stop();
|
||||
LOG.debug("Stopped {}",lifeCycle);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue