This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.resourceresolver-1.0.2
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resourceresolver.git

commit b7a268c13b232398465a80ddf22c118a45676b25
Author: Carsten Ziegeler <cziege...@apache.org>
AuthorDate: Mon Dec 3 14:06:10 2012 +0000

    SLING-2691 :  Correctly update mapping if a jcr:content node is removed
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/bundles/resourceresolver@1416527 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/resourceresolver/impl/ResourceResolverFactoryActivator.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
 
b/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
index cf019a8..a5b2863 100644
--- 
a/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
+++ 
b/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
@@ -292,7 +292,9 @@ public class ResourceResolverFactoryActivator {
         this.rootProviderEntry.setEventAdmin(null);
         this.resourceDecoratorTracker.close();
 
-        this.unregisterFactory();
+        synchronized ( this ) {
+            this.unregisterFactory();
+        }
     }
 
     private void unregisterFactory() {

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Reply via email to