jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1356630 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java
Date Tue, 03 Jul 2012 09:12:24 GMT
Author: mreutegg
Date: Tue Jul  3 09:12:23 2012
New Revision: 1356630

URL: http://svn.apache.org/viewvc?rev=1356630&view=rev
Log:
JCR-3369: Garbage collector improvements
- close session in GarbageCollector.Listener.stop()

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java?rev=1356630&r1=1356629&r2=1356630&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java
Tue Jul  3 09:12:23 2012
@@ -418,6 +418,7 @@ public class GarbageCollector implements
 
         void stop() throws RepositoryException {
             manager.removeEventListener(this);
+            session.logout();
         }
 
         public void onEvent(EventIterator events) {



Mime
View raw message