mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
Merge pull request #15302 from xiexingguo/wip-fix-reg-leak
common/ceph_context: fix leak of registered commands on exit Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
5750523e85
@ -642,11 +642,13 @@ CephContext::~CephContext()
|
||||
delete _plugin_registry;
|
||||
|
||||
_admin_socket->unregister_command("perfcounters_dump");
|
||||
_admin_socket->unregister_command("perf dump");
|
||||
_admin_socket->unregister_command("1");
|
||||
_admin_socket->unregister_command("perf dump");
|
||||
_admin_socket->unregister_command("perfcounters_schema");
|
||||
_admin_socket->unregister_command("perf schema");
|
||||
_admin_socket->unregister_command("perf histogram dump");
|
||||
_admin_socket->unregister_command("2");
|
||||
_admin_socket->unregister_command("perf schema");
|
||||
_admin_socket->unregister_command("perf histogram schema");
|
||||
_admin_socket->unregister_command("perf reset");
|
||||
_admin_socket->unregister_command("config show");
|
||||
_admin_socket->unregister_command("config set");
|
||||
|
Loading…
Reference in New Issue
Block a user