sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefane...@apache.org
Subject svn commit: r1713434 - /sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/providers/base/ViewStateManagerImpl.java
Date Mon, 09 Nov 2015 13:59:24 GMT
Author: stefanegli
Date: Mon Nov  9 13:59:24 2015
New Revision: 1713434

URL: http://svn.apache.org/viewvc?rev=1713434&view=rev
Log:
SLING-5282 : calling consistencyService.cancelSync(); in handleDeactivated

Modified:
    sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/providers/base/ViewStateManagerImpl.java

Modified: sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/providers/base/ViewStateManagerImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/providers/base/ViewStateManagerImpl.java?rev=1713434&r1=1713433&r2=1713434&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/providers/base/ViewStateManagerImpl.java
(original)
+++ sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/providers/base/ViewStateManagerImpl.java
Mon Nov  9 13:59:24 2015
@@ -332,6 +332,10 @@ public class ViewStateManagerImpl implem
                 logger.trace("handleDeactivated: setting previousView to null");
                 previousView = null;
             }
+            
+            if (consistencyService!=null) {
+                consistencyService.cancelSync();
+            }
             logger.trace("handleDeactivated: setting isChanging to false");
             isChanging = false;
             



Mime
View raw message