Mercurial > dovecot > core-2.2
changeset 4183:32b5045f8d80 HEAD
Destroy client connection at deinit before unloading modules.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 13 Apr 2006 23:25:10 +0300 |
parents | 85efed60baef |
children | 1f4114fe2896 |
files | src/imap/main.c src/pop3/main.c |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/main.c Thu Apr 13 22:31:35 2006 +0300 +++ b/src/imap/main.c Thu Apr 13 23:25:10 2006 +0300 @@ -219,10 +219,10 @@ { if (log_io != NULL) io_remove(&log_io); - module_dir_unload(&modules); + clients_deinit(); + module_dir_unload(&modules); commands_deinit(); - clients_deinit(); mail_storage_deinit(); dict_client_unregister(); random_deinit();
--- a/src/pop3/main.c Thu Apr 13 22:31:35 2006 +0300 +++ b/src/pop3/main.c Thu Apr 13 23:25:10 2006 +0300 @@ -249,10 +249,10 @@ { if (log_io != NULL) io_remove(&log_io); - module_dir_unload(&modules); + clients_deinit(); - clients_deinit(); - mail_storage_deinit(); + module_dir_unload(&modules); + mail_storage_deinit(); dict_client_unregister(); random_deinit();