Fixed The StoreTest that was failing on windows due to file handles not being properly closed.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@507736 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2007-02-14 23:05:04 +00:00
parent 6ddca19690
commit 141b0faedb
1 changed files with 2 additions and 0 deletions

View File

@ -228,6 +228,7 @@ public class KahaStore implements Store{
if(container!=null){
container.clear();
mapsContainer.removeRoot(container.getIndexManager(),containerId);
container.close();
}
}
@ -295,6 +296,7 @@ public class KahaStore implements Store{
if(container!=null){
listsContainer.removeRoot(container.getIndexManager(),containerId);
container.clear();
container.close();
}
}