incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1416527 - /sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
Date Mon, 03 Dec 2012 14:06:11 GMT
Author: cziegeler
Date: Mon Dec  3 14:06:10 2012
New Revision: 1416527

URL: http://svn.apache.org/viewvc?rev=1416527&view=rev
Log:
SLING-2691 :  Correctly update mapping if a jcr:content node is removed 

Modified:
    sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java

Modified: sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java?rev=1416527&r1=1416526&r2=1416527&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
(original)
+++ sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
Mon Dec  3 14:06:10 2012
@@ -292,7 +292,9 @@ public class ResourceResolverFactoryActi
         this.rootProviderEntry.setEventAdmin(null);
         this.resourceDecoratorTracker.close();
 
-        this.unregisterFactory();
+        synchronized ( this ) {
+            this.unregisterFactory();
+        }
     }
 
     private void unregisterFactory() {



Mime
View raw message