activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r396040 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java
Date Sat, 22 Apr 2006 00:58:17 GMT
Author: chirino
Date: Fri Apr 21 17:58:16 2006
New Revision: 396040

URL: http://svn.apache.org/viewcvs?rev=396040&view=rev
Log:
Close data files when the store is closed

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java?rev=396040&r1=396039&r2=396040&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/DataManager.java
Fri Apr 21 17:58:16 2006
@@ -104,6 +104,7 @@
         for(Iterator i=fileMap.values().iterator();i.hasNext();){
             DataFile dataFile=(DataFile) i.next();
             dataFile.force();
+            dataFile.close();
         }
         fileMap.clear();
     }



Mime
View raw message