From 0ccd0bf53f80bcf7c8246a887ffe1ac49c54e523 Mon Sep 17 00:00:00 2001 From: Norbert Hartl Date: Wed, 17 Jan 2024 12:02:59 +0100 Subject: [PATCH] if index is closed and still attached keySize needs to be reset --- src/Soil-Core/SoilSkipList.class.st | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Soil-Core/SoilSkipList.class.st b/src/Soil-Core/SoilSkipList.class.st index bcb82b26..493d36e9 100644 --- a/src/Soil-Core/SoilSkipList.class.st +++ b/src/Soil-Core/SoilSkipList.class.st @@ -21,6 +21,12 @@ SoilSkipList >> asCopyOnWrite [ yourself ] +{ #category : #'open/close' } +SoilSkipList >> close [ + super close. + keySize := nil +] + { #category : #deleting } SoilSkipList >> destroy [ path ensureDelete