]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9265 Prevent error log at shutdown
authorEric Hartmann <hartmann.eric@gmail.com>
Thu, 18 May 2017 12:27:34 +0000 (14:27 +0200)
committerEric Hartmann <hartmann.eric@gmail.com>
Thu, 18 May 2017 12:27:34 +0000 (14:27 +0200)
sonar-application/src/main/java/org/sonar/application/App.java

index 3f9d0470f0c1afda83992fef5808a7a22dee906a..3c79df440694f4ac98693e353b04c27fc330d893 100644 (file)
@@ -66,8 +66,9 @@ public class App {
         scheduler.awaitTermination();
         stopRequestWatcher.stopWatching();
       }
-      systemExit.exit(0);
     }
+
+    systemExit.exit(0);
   }
 
   public static void main(String... args) throws IOException {