Skip to content

Commit

Permalink
fix cycle after expiration (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity authored Oct 24, 2024
1 parent 55f4b67 commit 7b8fdb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/pool/Types.mo
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 7b8fdb6

Please sign in to comment.