diff options
-rw-r--r-- | server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java index ca6fe276c4b..b3c1e5c76ac 100644 --- a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java +++ b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java @@ -255,12 +255,13 @@ public class SchedulerImpl implements Scheduler, ManagedProcessEventListener, Pr private void hardStopImpl() { try { hardStopAll(); - finalizeStop(); } catch (InterruptedException e) { // ignore and assume SQ stop is handled by another thread LOG.debug("Stopping all processes was interrupted in the middle of a hard stop" + " (current thread name is \"{}\")", Thread.currentThread().getName()); Thread.currentThread().interrupt(); + } finally { + finalizeStop(); } } |