Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Nov 18, 2022
1 parent e29daf4 commit 415afc5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils/command_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ command_manager::command_manager()
command_manager::~command_manager()
{
_cmds.clear();
// Explicitly deregister logging_provider's commands because logging_provider may destroyed
// later.
dsn::logging_provider::instance()->deregister_commands();
CHECK(_handlers.empty(),
"All commands must be deregistered before command_manager been destroyed",
_handlers.begin()->first);
Expand Down

0 comments on commit 415afc5

Please sign in to comment.