mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 20:39:18 +00:00
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…
x
Reference in New Issue
Block a user