Jeff King <peff@xxxxxxxx> writes: > This fixes a regression introduced in ac6d45d11f (commit-graph: move > slab-clearing to close_commit_graph(), 2023-10-03), in which running: > ... > So it happens to work out. But it still seems questionable to me that we > would clear a global slab (which might still be in use) when closing the > commit graph. This clearing comes from 957ba814bf (commit-graph: when > closing the graph, also release the slab, 2021-09-08), and was fixing a > case where we really did need it to be closed (and in that case we > presumably call close_object_store() more directly). Wow, that is nasty. But anyway, thanks for your usual "3 pages of explanation for 2 lines of change". The patch does look the best fix in the meantime.