aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2019-05-01 10:06:59 -0500
committerSonarTech <sonartech@sonarsource.com>2019-06-03 20:21:18 +0200
commit0067320ec65664c3cf296a8f46074deba85437a7 (patch)
tree11a07ef3cf3d36b04cd344c0992cf9b2bb73eb93 /sonar-application/src
parent662103a952f5d6804f43ff6cb1ee84181cad747c (diff)
downloadsonarqube-0067320ec65664c3cf296a8f46074deba85437a7.tar.gz
sonarqube-0067320ec65664c3cf296a8f46074deba85437a7.zip
Minor fixes to main app
Diffstat (limited to 'sonar-application/src')
-rw-r--r--sonar-application/src/main/java/org/sonar/application/App.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java
index af29478eeef..22231ec1691 100644
--- a/sonar-application/src/main/java/org/sonar/application/App.java
+++ b/sonar-application/src/main/java/org/sonar/application/App.java
@@ -74,7 +74,7 @@ public class App {
scheduler.schedule();
- stopRequestWatcher = StopRequestWatcherImpl.create(settings, scheduler, fileSystem);
+ stopRequestWatcher = StopRequestWatcherImpl.create(settings, scheduler::terminate, fileSystem);
stopRequestWatcher.startWatching();
scheduler.awaitTermination();