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
This commit is contained in:
Hiram R. Chirino 2006-04-22 00:58:16 +00:00
parent 3ecc6f5293
commit 75c9b638be
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}