mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-02 10:13:53 -05:00
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 <benpeart@microsoft.com>
This commit is contained in:
committed by
Matthew John Cheetham
parent
432b51f4e3
commit
5fbe51ce4f
@@ -1581,6 +1581,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
|
||||
wt_status_print(&s);
|
||||
wt_status_collect_free_buffers(&s);
|
||||
|
||||
enable_fscache(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user