From 31784eb3bfc2e9e320e96c0c3ef0e3f3abcd0880 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 12 Dec 2012 15:27:05 +0100 Subject: SONAR-3887 release lock when plugin license is not valid --- sonar-batch/src/main/java/org/sonar/batch/bootstrapper/Batch.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sonar-batch/src/main/java/org/sonar/batch/bootstrapper') 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); -- cgit v1.2.3