Skip to content

Commit

Permalink
imap: Don't unregister internal commands at deinit.
Browse files Browse the repository at this point in the history
This allows plugins to unregister commands without errors being logged.
  • Loading branch information
sirainen authored and GitLab committed Jan 30, 2017
1 parent 27129cc commit e5d2061
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/imap/imap-commands.c
Expand Up @@ -228,8 +228,6 @@ void commands_init(void)

void commands_deinit(void)
{
command_unregister_array(imap4rev1_commands, IMAP4REV1_COMMANDS_COUNT);
command_unregister_array(imap_ext_commands, IMAP_EXT_COMMANDS_COUNT);
array_free(&imap_commands);
array_free(&command_hooks);
}

0 comments on commit e5d2061

Please sign in to comment.