From 75c9b638be0653463cd6f160855fbafacf38ddcb Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Sat, 22 Apr 2006 00:58:16 +0000 Subject: [PATCH] Close data files when the store is closed git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@396040 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/activemq/kaha/impl/DataManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java b/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java index 337fedd809..74b8a22d68 100644 --- a/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java +++ b/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java @@ -104,6 +104,7 @@ final class DataManager{ for(Iterator i=fileMap.values().iterator();i.hasNext();){ DataFile dataFile=(DataFile) i.next(); dataFile.force(); + dataFile.close(); } fileMap.clear(); }