incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r882719 - /sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/FactoryCache.java
Date Fri, 20 Nov 2009 21:17:46 GMT
Author: cziegeler
Date: Fri Nov 20 21:17:42 2009
New Revision: 882719

URL: http://svn.apache.org/viewvc?rev=882719&view=rev
Log:
Correctly unget services.

Modified:
    sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/FactoryCache.java

Modified: sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/FactoryCache.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/FactoryCache.java?rev=882719&r1=882718&r2=882719&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/FactoryCache.java
(original)
+++ sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/FactoryCache.java
Fri Nov 20 21:17:42 2009
@@ -264,6 +264,7 @@
             final String type = this.getType(reference);
             if ( type != null ) {
                 this.services.remove(type);
+                this.context.ungetService(reference);
             }
         }
     }



Mime
View raw message