dovecot-1.1: master: Don't crash at quit if there is some unwrit...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Feb 2 19:14:38 EET 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/f3941153331e
changeset: 8140:f3941153331e
user: Timo Sirainen <tss at iki.fi>
date: Mon Feb 02 12:14:31 2009 -0500
description:
master: Don't crash at quit if there is some unwritten data in logs.
diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
src/master/main.c | 5 +++--
diffs (22 lines):
diff -r 7ef5e6c32443 -r f3941153331e src/master/main.c
--- a/src/master/main.c Mon Feb 02 12:11:47 2009 -0500
+++ b/src/master/main.c Mon Feb 02 12:14:31 2009 -0500
@@ -321,15 +321,16 @@ static void main_deinit(void)
auth_processes_deinit();
dict_process_deinit();
ssl_deinit();
- child_processes_deinit();
listeners_close_fds();
if (close(null_fd) < 0)
i_error("close(null_fd) failed: %m");
+ log_deinit();
+ /* log_deinit() may still want to look up child processes */
+ child_processes_deinit();
lib_signals_deinit();
- log_deinit();
closelog();
}
More information about the dovecot-cvs
mailing list