From 9e7b6f5265132abbe0fc168b4361a6cf80448dc0 Mon Sep 17 00:00:00 2001 From: TEC Date: Sat, 12 Oct 2024 20:16:29 +0800 Subject: [PATCH] fix(Store/inventory): update inv at start of gc --- Store/src/inventory.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/Store/src/inventory.jl b/Store/src/inventory.jl index 511651d8..52f2c13e 100644 --- a/Store/src/inventory.jl +++ b/Store/src/inventory.jl @@ -277,6 +277,7 @@ If `trimmsg` is set, a message about any sources removed by trimming is emitted. """ function garbage_collect!(inv::Inventory; log::Bool=true, dryrun::Bool=false, trimmsg::Bool=false) inv.file.writable || return + inv = update_inventory!(inv) msgwidth = MSG_LABEL_WIDTH + 2 * dryrun (; active_collections, live_collections, ghost_collections, dead_collections) = scan_collections(inv; log)