aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src/main/java/org/sonar/application/App.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application/src/main/java/org/sonar/application/App.java')
-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();