diff --git a/src/cached.cr b/src/cached.cr index 85eb8a6..f2a7569 100644 --- a/src/cached.cr +++ b/src/cached.cr @@ -105,4 +105,9 @@ class DODB::CachedDataBase(V) < DODB::Storage(V) @data.delete key value end + + private def remove_data! + super + @data = Hash(Int32, V).new + end end