diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-12-12 15:27:05 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-12-12 15:27:23 +0100 |
commit | 31784eb3bfc2e9e320e96c0c3ef0e3f3abcd0880 (patch) | |
tree | 7058872e4500e814317d5a5811fd9e3871b86a8c /sonar-batch/src/main/java/org/sonar/batch/bootstrapper | |
parent | abadc6eed3365966b36874c64a445a05d94b2e77 (diff) | |
download | sonarqube-31784eb3bfc2e9e320e96c0c3ef0e3f3abcd0880.tar.gz sonarqube-31784eb3bfc2e9e320e96c0c3ef0e3f3abcd0880.zip |
SONAR-3887 release lock when plugin license is not valid
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/bootstrapper')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java index c670d4439ec..0970bd5bc55 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java @@ -70,7 +70,8 @@ public final class Batch { private void startBatch() { Module bootstrapModule = null; try { - bootstrapModule = new BootstrapModule(projectReactor, components.toArray(new Object[components.size()])).init(); + bootstrapModule = new BootstrapModule(projectReactor, components.toArray(new Object[components.size()])); + bootstrapModule.init(); bootstrapModule.start(); } catch (RuntimeException e) { PicoUtils.propagateStartupException(e); |