mirror of https://github.com/apache/activemq.git
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:
parent
6ddca19690
commit
141b0faedb
|
@ -228,6 +228,7 @@ public class KahaStore implements Store{
|
||||||
if(container!=null){
|
if(container!=null){
|
||||||
container.clear();
|
container.clear();
|
||||||
mapsContainer.removeRoot(container.getIndexManager(),containerId);
|
mapsContainer.removeRoot(container.getIndexManager(),containerId);
|
||||||
|
container.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -295,6 +296,7 @@ public class KahaStore implements Store{
|
||||||
if(container!=null){
|
if(container!=null){
|
||||||
listsContainer.removeRoot(container.getIndexManager(),containerId);
|
listsContainer.removeRoot(container.getIndexManager(),containerId);
|
||||||
container.clear();
|
container.clear();
|
||||||
|
container.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue