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);
             }
         }
     }


Reply via email to