commit | 18c12a386d3ee8a2c30985f18e0bbbdecd6ad6e6 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Mon Nov 25 14:55:09 2013 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Mon Nov 25 14:55:09 2013 +0000 |
tree | 31ca5ea1bdf4bf4ad321cf59ff398613c62cb005 | |
parent | d83dd4ed66035e02405f2a8f7ab451e32521ce13 [diff] |
[FELIX-4326] Revert bad commit We should not remove the BundleListener to make sure we still receive bundle STOPPING events while shutting down the extender git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1545309 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/utils/src/main/java/org/apache/felix/utils/extender/AbstractExtender.java b/utils/src/main/java/org/apache/felix/utils/extender/AbstractExtender.java index 978ecc0..ce6e701 100644 --- a/utils/src/main/java/org/apache/felix/utils/extender/AbstractExtender.java +++ b/utils/src/main/java/org/apache/felix/utils/extender/AbstractExtender.java
@@ -116,7 +116,6 @@ public void stop(BundleContext context) throws Exception { stopping = true; - this.context.removeBundleListener(this); while (!extensions.isEmpty()) { Collection<Bundle> toDestroy = chooseBundlesToDestroy(extensions.keySet()); if (toDestroy == null || toDestroy.isEmpty()) {