karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggrzy...@apache.org
Subject [karaf] branch karaf-4.1.x updated: [KARAF-5528] Start early stopped bundles again at right moment
Date Tue, 12 Dec 2017 19:08:19 GMT
This is an automated email from the ASF dual-hosted git repository.

ggrzybek pushed a commit to branch karaf-4.1.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.1.x by this push:
     new 9600fb5  [KARAF-5528] Start early stopped bundles again at right moment
9600fb5 is described below

commit 9600fb56e4c1674972d6e2825c03d9dda0c3b169
Author: Grzegorz Grzybek <gr.grzybek@gmail.com>
AuthorDate: Tue Dec 12 20:07:10 2017 +0100

    [KARAF-5528] Start early stopped bundles again at right moment
---
 .../main/java/org/apache/karaf/features/internal/service/Deployer.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
index c482e80..6732fca 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/service/Deployer.java
@@ -634,6 +634,7 @@ public class Deployer {
             Set<Bundle> toRefreshToStopEarly = new HashSet<>(toRefresh.keySet());
             toRefreshToStopEarly.remove(dstate.serviceBundle);
             toStop.addAll(toRefreshToStopEarly);
+            toStart.addAll(toRefreshToStopEarly);
         }
         removeFragmentsAndBundlesInState(toStop, UNINSTALLED | RESOLVED | STOPPING);
         if (!toStop.isEmpty()) {

-- 
To stop receiving notification emails like this one, please contact
['"commits@karaf.apache.org" <commits@karaf.apache.org>'].

Mime
View raw message