activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r507736 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
Date Wed, 14 Feb 2007 23:05:05 GMT
Author: chirino
Date: Wed Feb 14 15:05:04 2007
New Revision: 507736

URL: http://svn.apache.org/viewvc?view=rev&rev=507736
Log:
Fixed The StoreTest that was failing on windows due to file handles not being properly closed.

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java?view=diff&rev=507736&r1=507735&r2=507736
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
Wed Feb 14 15:05:04 2007
@@ -228,6 +228,7 @@
         if(container!=null){
             container.clear();
             mapsContainer.removeRoot(container.getIndexManager(),containerId);
+            container.close();
         }
     }
 
@@ -295,6 +296,7 @@
         if(container!=null){
             listsContainer.removeRoot(container.getIndexManager(),containerId);
             container.clear();
+            container.close();
         }
     }
 



Mime
View raw message