mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Close iterationContext used in recovery, fixes #96
This commit is contained in:
@@ -152,7 +152,9 @@ public class VanillaChronicleMap<K, V, R>
|
||||
|
||||
public void recover() throws IOException {
|
||||
basicRecover();
|
||||
iterationContext().recoverSegments();
|
||||
try (IterationContext<K, V, ?> iterationContext = iterationContext()) {
|
||||
iterationContext.recoverSegments();
|
||||
}
|
||||
}
|
||||
|
||||
private void initOwnTransients() {
|
||||
|
||||
Reference in New Issue
Block a user