Skip to content

Commit ecf044b

Browse files
benpeartGit for Windows Build Agent
authored andcommitted
status: disable and free fscache at the end of the status command
At the end of the status command, disable and free the fscache so that we don't leak the memory and so that we can dump the fscache statistics. Signed-off-by: Ben Peart <[email protected]>
1 parent 171dc2a commit ecf044b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/commit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,6 +1650,7 @@ struct repository *repo UNUSED)
16501650
wt_status_print(&s);
16511651
wt_status_collect_free_buffers(&s);
16521652

1653+
enable_fscache(0);
16531654
return 0;
16541655
}
16551656

0 commit comments

Comments
 (0)