jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r178160 - /incubator/jackrabbit/branches/ri-1.0/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
Date Tue, 24 May 2005 12:57:16 GMT
Author: stefan
Date: Tue May 24 05:57:16 2005
New Revision: 178160

URL: http://svn.apache.org/viewcvs?rev=178160&view=rev
Log:
fixed bug JCR-125: Repository holds onto Session instance after logout

Modified:
    incubator/jackrabbit/branches/ri-1.0/src/java/org/apache/jackrabbit/core/RepositoryImpl.java

Modified: incubator/jackrabbit/branches/ri-1.0/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/branches/ri-1.0/src/java/org/apache/jackrabbit/core/RepositoryImpl.java?rev=178160&r1=178159&r2=178160&view=diff
==============================================================================
--- incubator/jackrabbit/branches/ri-1.0/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
(original)
+++ incubator/jackrabbit/branches/ri-1.0/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
Tue May 24 05:57:16 2005
@@ -586,6 +586,7 @@
             RepositoryException {
         WorkspaceInfo wspInfo = getWorkspaceInfo(workspaceName);
         SessionImpl ses = createSessionInstance(loginContext, wspInfo.getConfig());
+        ses.addListener(this);
         activeSessions.put(ses, ses);
         return ses;
     }
@@ -608,6 +609,7 @@
             RepositoryException {
         WorkspaceInfo wspInfo = getWorkspaceInfo(workspaceName);
         SessionImpl ses = createSessionInstance(subject, wspInfo.getConfig());
+        ses.addListener(this);
         activeSessions.put(ses, ses);
         return ses;
     }



Mime
View raw message