dovecot-1.1: Master could have crashed if auth process died too ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 4 20:33:59 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/1dc2dd3cd902
changeset: 7804:1dc2dd3cd902
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 04 13:33:51 2008 -0400
description:
Master could have crashed if auth process died too early and not log the reason.

diffstat:

1 file changed, 1 insertion(+), 2 deletions(-)
src/master/main.c |    3 +--

diffs (19 lines):

diff -r 8ab845d3c96d -r 1dc2dd3cd902 src/master/main.c
--- a/src/master/main.c	Mon Aug 04 10:16:32 2008 -0400
+++ b/src/master/main.c	Mon Aug 04 13:33:51 2008 -0400
@@ -283,14 +283,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();
 


More information about the dovecot-cvs mailing list