From: Timo Sirainen Date: Mon, 4 Aug 2008 17:33:51 +0000 (-0400) Subject: Master could have crashed if auth process died too early and not log the reason. X-Git-Tag: 1.2.alpha1~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b861a0fcf9379b74f59a37b77bf11478809dcee4;p=thirdparty%2Fdovecot%2Fcore.git Master could have crashed if auth process died too early and not log the reason. --HG-- branch : HEAD --- diff --git a/src/master/main.c b/src/master/main.c index 9834b416d5..9f7557153d 100644 --- a/src/master/main.c +++ b/src/master/main.c @@ -294,14 +294,13 @@ static void main_deinit(void) "/master.pid", NULL)); login_processes_destroy_all(); - /* call process destroy handlers first */ - child_processes_deinit(); mail_processes_deinit(); login_processes_deinit(); auth_processes_deinit(); dict_process_deinit(); ssl_deinit(); + child_processes_deinit(); listeners_close_fds();