From 0067320ec65664c3cf296a8f46074deba85437a7 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Wed, 1 May 2019 10:06:59 -0500 Subject: Minor fixes to main app --- sonar-application/src/main/java/org/sonar/application/App.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-application/src/main/java/org/sonar') 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(); -- cgit v1.2.3