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
parent 25a7f44187
commit 24c3bb45da

View File

@@ -1410,6 +1410,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
s.prefix = prefix;
wt_status_print(&s);
enable_fscache(0);
return 0;
}