Mercurial > dovecot > core-2.2
changeset 22372:e725baa58831
virtual: Do not remove mailbox notify if the mailbox is closed
The backend mailbox close/open status is not related to
the notify API usage. The notify is removed in
virtual_mailbox_close_internal instead when we are
actually deinitializing.
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Thu, 20 Jul 2017 11:01:37 +0300 |
parents | e02a683b821c |
children | bc9c3065ec23 |
files | src/plugins/virtual/virtual-storage.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/virtual/virtual-storage.c Wed Jul 19 23:19:12 2017 +0300 +++ b/src/plugins/virtual/virtual-storage.c Thu Jul 20 11:01:37 2017 +0300 @@ -343,9 +343,6 @@ struct virtual_backend_box *bbox = VIRTUAL_CONTEXT(box); struct virtual_backend_mailbox *vbox = VIRTUAL_BACKEND_CONTEXT(box); - if (bbox != NULL && bbox->notify != NULL) - mailbox_list_notify_deinit(&bbox->notify); - if (bbox != NULL && bbox->open_tracked) { /* we could have gotten here from e.g. mailbox_autocreate() without going through virtual_mailbox_close() */