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:
Ben Peart 2018-11-01 11:40:51 -04:00 committed by Johannes Schindelin
parent 5517a9f819
commit 2a5d448eeb

View File

@ -1616,6 +1616,7 @@ struct repository *repo UNUSED)
wt_status_print(&s);
wt_status_collect_free_buffers(&s);
enable_fscache(0);
return 0;
}