From 7b8fdb683da93347fe9d19b726e0c04b99712464 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:17:24 -0700 Subject: [PATCH] fix cycle after expiration (#266) --- service/pool/Types.mo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/pool/Types.mo b/service/pool/Types.mo index 6397bf02..67e18e00 100644 --- a/service/pool/Types.mo +++ b/service/pool/Types.mo @@ -164,6 +164,8 @@ module { tree.insert { timestamp = 0; id }; metadata.put(id, (0, false)); deleteFamilyNode id; + cycles.delete id; + // snapshots already removed with pool_uninstall_code return true; };