changeset 21455:a927a4f7aab1

imap: Don't unregister internal commands at deinit. This allows plugins to unregister commands without errors being logged.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sun, 29 Jan 2017 00:24:33 +0200
parents 447f2259ec6c
children 419ab5991cc6
files src/imap/imap-commands.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/imap-commands.c	Thu Jan 26 22:42:09 2017 +0200
+++ b/src/imap/imap-commands.c	Sun Jan 29 00:24:33 2017 +0200
@@ -228,8 +228,6 @@
 
 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);
 }