From 141b0faedb5462410ee7ec46a5a77fd7d628e9fb Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Wed, 14 Feb 2007 23:05:04 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/activemq/kaha/impl/KahaStore.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java b/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java index 68420a0344..dbe95ebe1c 100644 --- a/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java +++ b/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java @@ -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(); } }