]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4690 correctly remove the progress thread
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 27 Sep 2013 15:01:47 +0000 (17:01 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 27 Sep 2013 15:01:47 +0000 (17:01 +0200)
sonar-server/src/main/java/org/sonar/server/db/migrations/violation/ViolationConverters.java

index 640903d885024819a7760ed7ea5f0464956f6e9b..ffd00776fe5fe2660717a6cb964b77e2ef175784 100644 (file)
@@ -60,7 +60,9 @@ class ViolationConverters {
         result.get();
       }
     } finally {
+      progress.cancel();
       timer.cancel();
+      timer.purge();
     }
   }