diff --git a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java index 3f8772856..8f378118a 100755 --- a/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java +++ b/src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java @@ -232,7 +232,10 @@ class VanillaChronicleMap, final long createMappedStoreAndSegments(BytesStore bytesStore) throws IOException { // checks the the store has not been closed // todo remove the CheckedBytesStore before the release - this.ms = new CheckedBytesStore(bytesStore); + //this.ms = new CheckedBytesStore(bytesStore); + + + this.ms = bytesStore; onHeaderCreated();