[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()) {