Mercurial > dovecot > core-2.2
changeset 21815:920e7214f3b4
pop3: Start autoexpunging only after client is disconnected
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 23 Mar 2017 14:08:53 +0200 |
parents | 759962e70148 |
children | 869db4bcecdb |
files | src/pop3/pop3-client.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pop3/pop3-client.c Thu Mar 16 11:15:18 2017 +0200 +++ b/src/pop3/pop3-client.c Thu Mar 23 14:08:53 2017 +0200 @@ -625,10 +625,6 @@ "\n", NULL)); } - /* refresh proctitle before a potentially long-running user unref */ - pop3_refresh_proctitle(); - mail_user_unref(&client->user); - if (client->session_dotlock != NULL) file_dotlock_delete(&client->session_dotlock); if (client->to_session_dotlock_refresh != NULL) @@ -651,6 +647,10 @@ o_stream_destroy(&client->output); fd_close_maybe_stdio(&client->fd_in, &client->fd_out); + + /* refresh proctitle before a potentially long-running user unref */ + pop3_refresh_proctitle(); + mail_user_unref(&client->user); mail_storage_service_user_unref(&client->service_user); pop3_client_count--;