You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2007/02/15 00:05:05 UTC
svn commit: r507736 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
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();
}
}