mirror of https://github.com/apache/activemq.git
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:
parent
3ecc6f5293
commit
75c9b638be
|
@ -104,6 +104,7 @@ final class DataManager{
|
||||||
for(Iterator i=fileMap.values().iterator();i.hasNext();){
|
for(Iterator i=fileMap.values().iterator();i.hasNext();){
|
||||||
DataFile dataFile=(DataFile) i.next();
|
DataFile dataFile=(DataFile) i.next();
|
||||||
dataFile.force();
|
dataFile.force();
|
||||||
|
dataFile.close();
|
||||||
}
|
}
|
||||||
fileMap.clear();
|
fileMap.clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue