You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2019/11/26 05:10:36 UTC

[karaf-decanter] branch master updated: [KARAF-6475] Avoid thread park status with executor service

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf-decanter.git


The following commit(s) were added to refs/heads/master by this push:
     new c442cb3  [KARAF-6475] Avoid thread park status with executor service
     new 8240220  Merge pull request #108 from fpapon/KARAF-6475
c442cb3 is described below

commit c442cb3a3de5be8457c070d27645c943fbb10ae5
Author: Francois Papon <fr...@openobject.fr>
AuthorDate: Thu Nov 7 21:06:01 2019 +0100

    [KARAF-6475] Avoid thread park status with executor service
---
 .../java/org/apache/karaf/decanter/collector/system/SystemCollector.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/collector/system/src/main/java/org/apache/karaf/decanter/collector/system/SystemCollector.java b/collector/system/src/main/java/org/apache/karaf/decanter/collector/system/SystemCollector.java
index ce64b7d..599cf49 100644
--- a/collector/system/src/main/java/org/apache/karaf/decanter/collector/system/SystemCollector.java
+++ b/collector/system/src/main/java/org/apache/karaf/decanter/collector/system/SystemCollector.java
@@ -159,6 +159,7 @@ public class SystemCollector implements Runnable {
             } catch (InterruptedException e) {
                 LOGGER.warn("Thread executor for the collector system failed", e);
             }
+            executorService.shutdown();
             LOGGER.debug("Invoking system commands done");
         }
     }