aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-06-19 09:29:50 +0200
committerGitHub Enterprise <[email protected]>2025-06-19 09:29:50 +0200
commit583e98fc49a4c3ebe24208d082ce5fe71ccef0ef (patch)
tree2b39bf5f346512c03a897e89b473ee4513247031 /src/zenstore/cache/structuredcachestore.cpp
parentsymbol gen hack-fix for linux (#442) (diff)
downloadzen-583e98fc49a4c3ebe24208d082ce5fe71ccef0ef.tar.xz
zen-583e98fc49a4c3ebe24208d082ce5fe71ccef0ef.zip
make sure we unregister from GC before we drop bucket/namespaces (#443)
Diffstat (limited to 'src/zenstore/cache/structuredcachestore.cpp')
-rw-r--r--src/zenstore/cache/structuredcachestore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp
index 5ce254fac..d956384ca 100644
--- a/src/zenstore/cache/structuredcachestore.cpp
+++ b/src/zenstore/cache/structuredcachestore.cpp
@@ -297,6 +297,7 @@ ZenCacheNamespace::EnumerateBucketContents(std::string_view
std::function<void()>
ZenCacheNamespace::Drop()
{
+ m_Gc.RemoveGcStorage(this);
return m_DiskLayer.Drop();
}