commit | f9fbb36573c1ffa18c303dbde958789fc932622b | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Sat Jul 18 09:43:45 2015 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Sat Jul 18 09:43:45 2015 +0000 |
tree | 6fe87d3bcd94d3909918cb33e001b88ee430329c | |
parent | 27a514a71c9b6065bac1b531f43e267f609e9116 [diff] |
Cleanup shared service object git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1691710 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/helper/ComponentServiceObjectsHelper.java b/scr/src/main/java/org/apache/felix/scr/impl/helper/ComponentServiceObjectsHelper.java index 634d192..82377d2 100644 --- a/scr/src/main/java/org/apache/felix/scr/impl/helper/ComponentServiceObjectsHelper.java +++ b/scr/src/main/java/org/apache/felix/scr/impl/helper/ComponentServiceObjectsHelper.java
@@ -97,6 +97,7 @@ } cso.close(); } + prototypeInstances.remove(ref); } public <T> T getPrototypeRefInstance(final ServiceReference<T> ref, ServiceObjects<T> serviceObjects)